10.10.2011, 02:40
onplayerupdate how to get the weapon that the player has like
OnPlayerUpdate
{
if(player has minigun)
{
Ban(playerid);
}
}
OnPlayerUpdate
{
if(player has minigun)
{
Ban(playerid);
}
}
// under onplayerupdate
if(GetPlayerWeapon(playerid) == 38 )
{
SendClientMessage(playerid,-1,"You Have Been Banned For Minigun Weapons.");
Ban(playerid);
return 1;
}