14.12.2010, 22:45
Just a example:
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == 1)
{
if(gPlayer[playerid] != gang) return 0; // If the player isn't from the gang named "gang", nothing happens
else return true;
}
return 1;
}