11.05.2014, 08:01
Apparently, this command is crashing the server whenever executed. What is possibly causing the server to crash?
pawn Код:
new
string[ 128 ],
Age = PlayerInfo[ playerid ][ pAge ],
Money = GetPlayerCash( playerid )
;
new Sex[20];
if(PlayerInfo[ playerid ][ pSex ] == 1) { Sex = "Male"; }
else if(PlayerInfo[ playerid ][ pSex ] == 2) { Sex = "Female"; }
SendClientMessage(playerid, COLOR_LIGHTBLUE, "_________________________STATISTICS OF %s_________________________, pName");
SendClientMessage(playerid, -1, "");
format(string, sizeof(string), "Name: {FFFFFF}%s {6FDD96}| Money: {FFFFFF}%d {6FDD96}| Age: {FFFFFF}%d {6FDD96}| Sex: {FFFFFF}%s", pName, Money, Age, Sex);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
SendClientMessage(playerid, -1, "");
SendClientMessage(playerid, COLOR_LIGHTBLUE,"____________________________________________________________________");