16.04.2012, 07:17
Код:
//---- Join Gang if(strcmp(tmp, "join", true) == 0) { new message[128]; new gangid = 0; new PlayerName [500] if(AccInfo[playerid][gang] != 0) return Inter_SendClientMessage(playerid, RandomColors[random(200)], "You are already in a gang."); if(invited[playerid] == 0) return Inter_SendClientMessage(playerid, RandomColors[random(200)], "You have not been invited to join that gang."); JoinGang(playerid, invited[playerid]); format(message, 128, "[%s]%s", GangInfo[gangid][GANG_NAME], PlayerName); SetPlayerName(playerid, message); return 1; }
Код:
D:\GTASAN~1\GAMEMO~1\SATDM_~1.PWN(38986) : error 001: expected token: ";", but found "if"