30.10.2011, 17:06
pawn Код:
if(strcmp(cmd, "/stats", true) == 0||strcmp(cmd, "/sts", true) ==0)
{
new string[41];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
format(string, sizeof(string),"%s Statistic's~n~NBTDM~n~Health:%d~n~Skin:%d~n~Money:%d~n~Class:%d",name,GetPlayerHealth,GetPlayerSkin,GetPlayerMoney,GetPlayerTeam);
TextDrawSetString(stats, string);
TextDrawShowForPlayer(playerid, stats);
return 1;
}
pawn Код:
error 076: syntax error in the expression, or invalid function call