[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
#2

Ehm, what is the problem?
Reply
#3

only the area's dominant gang can get the pickup. That is the problem and how to fix this? does anyone know what the problem is?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)