[Help] Blocking pickups!!
#1

Blocking TEAM_COPS pickups I use only the pickup so that blocking

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);
}
}
Reply


Messages In This Thread
[Help] Blocking pickups!! - by BlackSkull - 29.04.2010, 20:21
Re: [Help] Blocking pickups!! - by Mauzen - 29.04.2010, 20:28
Re: [Help] Blocking pickups!! - by BlackSkull - 29.04.2010, 22:27

Forum Jump:


Users browsing this thread: 1 Guest(s)