02.07.2011, 09:54
Where my error?
error 030: compound statement not closed at the end of file
Код:
public OnPlayerUpdate(playerid) { if(GetPlayerWeapon(playerid) == 35) {SendClientMessage(playerid,0xAA3333AA,"Это оружие запрещено САЛОМ!"); if(GetPlayerWeapon(playerid) == 38) {SendClientMessage(playerid,0xAA3333AA,"Єто оружие запрещено САЛОМ!"); if(GetPlayerWeapon(playerid) == 37) {SendClientMessage(playerid,0xAA3333AA,"Это оружие запрещено САЛОМ!"); if(GetPlayerWeapon(playerid) == 36) {SendClientMessage(playerid,0xAA3333AA,"Єто оружие запрещено САЛОМ!"); if(GetPlayerWeapon(playerid) == 18) {SendClientMessage(playerid,0xAA3333AA,"Это оружие запрещено САЛОМ!"); if(GetPlayerWeapon(playerid) == 25) {SendClientMessage(playerid,0xAA3333AA,"Это оружие запрещено САЛОМ!"); if(GetPlayerWeapon(playerid) == 27) {SendClientMessage(playerid,0xAA3333AA,"Єто оружие запрещено САЛОМ!"); Kick(playerid); return true;} { if(!IsPlayerConnected(playerid)) return 0;