[Help] Newbie kikado by weapon
#1

I wanted to do a system level one can not have guns.
Next:
The player is rookie, he goes and gets a gun (which either a)
And when he shoot with that gun, he is kikado the server.
Look at the command I did:
Код:
if(PlayerInfo[playerid][pNivel] == 1)
{
GetPlayerWeapon(playerid) >= 1);
GetPlayerWeapon(playerid) >= 2);
GetPlayerWeapon(playerid) >= 3);
GetPlayerWeapon(playerid) >= 4);
GetPlayerWeapon(playerid) >= 5);
GetPlayerWeapon(playerid) >= 6);
GetPlayerWeapon(playerid) >= 7);
GetPlayerWeapon(playerid) >= 8);
GetPlayerWeapon(playerid) >= 9);
GetPlayerWeapon(playerid) >= 10);
GetPlayerWeapon(playerid) >= 11);
GetPlayerWeapon(playerid) >= 12);
GetPlayerWeapon(playerid) >= 13);
GetPlayerWeapon(playerid) >= 14);
GetPlayerWeapon(playerid) >= 15);
GetPlayerWeapon(playerid) >= 16);
GetPlayerWeapon(playerid) >= 17);
GetPlayerWeapon(playerid) >= 18);
GetPlayerWeapon(playerid) >= 22);
GetPlayerWeapon(playerid) >= 23);
GetPlayerWeapon(playerid) >= 24);
GetPlayerWeapon(playerid) >= 25);
GetPlayerWeapon(playerid) >= 26);
GetPlayerWeapon(playerid) >= 27);
GetPlayerWeapon(playerid) >= 28);
GetPlayerWeapon(playerid) >= 29);
GetPlayerWeapon(playerid) >= 30);
GetPlayerWeapon(playerid) >= 31);
GetPlayerWeapon(playerid) >= 32);
GetPlayerWeapon(playerid) >= 33);
GetPlayerWeapon(playerid) >= 34);
GetPlayerWeapon(playerid) >= 35);
GetPlayerWeapon(playerid) >= 36);
GetPlayerWeapon(playerid) >= 37);
GetPlayerWeapon(playerid) >= 38);
GetPlayerWeapon(playerid) >= 39);
GetPlayerWeapon(playerid) >= 40);
GetPlayerWeapon(playerid) >= 41);
GetPlayerWeapon(playerid) >= 42);
GetPlayerWeapon(playerid) >= 43);
GetPlayerWeapon(playerid) >= 44);
GetPlayerWeapon(playerid) >= 45);
GetPlayerWeapon(playerid) >= 46);
{
Kick(playerid);
}
}
}
Errors:
Код:
C:\Users\Empresa.Empresa-PC\Desktop\GTA\Meu servidor\Server\gamemodes\GM.pwn(12818) : error 010: invalid function or declaration
Line 12818 :
Код:
if(PlayerInfo[playerid][pNivel] == 1)
Reply
#2

Wrong section, however

pawn Код:
if(PlayerInfo[playerid][pNivel] == 1 && GetPlayerWeapon(playerid)) Kick(playerid);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)