29.04.2010, 20:21
Blocking TEAM_COPS pickups I use only the pickup so that blocking
I did so:
Top
I did so:
Top
Код:
#define TEAM_COPS 21 gTeam[MAX_PLAYERS];
Код:
new Gren;
Код:
Gren = CreatePickup(351, 1, 405.85,2541.47,16.55);
Код:
public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == Gren) { if (gTeam[playerid] == TEAM_COPS) { GivePlayerWeapon(playerid,27,20); } }