help me Scrip
#1

is this anti-weaps correct on my server I have the getplayerweaponEX function

or do not they connect anti weaps minigun and rpg that works?

public OnPlayerUpdate(playerid)
{
IlegalWeapons(playerid);
return 1;
}

stock IlegalWeapons(playerid)
{

if(GetPlayerWeapon(playerid) == 16 || GetPlayerWeapon(playerid) == 17 || GetPlayerWeapon(playerid) == 35 ||
GetPlayerWeapon(playerid) == 36 || GetPlayerWeapon(playerid) == 37 || GetPlayerWeapon(playerid) == 38 ||
GetPlayerWeapon(playerid) == 39 || GetPlayerWeapon(playerid) == 40 || GetPlayerWeapon(playerid) == 1
{

Kick(playerid);
return 1;
}
return 1;
}
Reply


Messages In This Thread
help me Scrip - by nbx2000 - 20.06.2018, 02:47
Re: help me Scrip - by NaS - 20.06.2018, 03:20

Forum Jump:


Users browsing this thread: 1 Guest(s)