Tutorial [SPRX Function] Non Host End Game

Liam

BU4
Messages
185
Reaction score
171
Points
818
Hi, Not sure if this was posted anywhere.

I'm expecting a lot of hate from this... so go ahead :dave:

Thanks to Adrian for his c# tool source :dave:
Thanks to Mr.Sheperd also (****)

Code:
string convertInt(int number)
{
if (number == 0)
  return "0";
string temp = "";
string returnvalue = "";
while (number>0)
{
  temp += number % 10 + 48;
  number /= 10;
}
for (int i = 0; i<temp.length(); i++)
  returnvalue += temp[temp.length() - i - 1];
return returnvalue;
}

void Endgame()
{
  int num;
  num = PS3::ReadInt32(0xF109E8 + 0x13B4);
  const char *EndGtext;
  const char *a = "cmd mr ";
  const char *c = " 3 endround";
  string Var = a+convertInt(num)+c;
  EndGtext = Var.c_str();
  Funcs::Cbuf_AddText(EndGtext);
  return;
}
if you dont know how to use, please stop
 
Last edited:
Top