14.05.2011, 21:08
Hi!
The command is not good
The command is not good
Код:
dcmd_vinfo(playerid,params[]) { new string[128],P1,player1; if(!strlen(params)) player1 = playerid; else player1 = strval(params); if(IsPlayerConnected(player1)) { if(PlayerInfo[player1][SpeedHax] == 1) P1 = "On"; else P1 = "Off"; format(string, sizeof(string), "%s-nek Stats: SpeedHack: %s",PlayerName2(player1), PlayerInfo[player1][SpeedHax]); return SendClientMessage(playerid, green, string); } else return SendClientMessage(playerid, red, "Error:Player is not connect" } Error: error 006: must be assigned to an array error 006: must be assigned to an array error 017: undefined symbol "PlayerName2" error 010: invalid function or declaration PLEASE HELP!