11.08.2010, 21:56
This is what I have: (hope it helps explain it better)
Код:
new Gnade1;
Код:
public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == Gnade1) { Gnade1 = CreatePickup(342,1,2000.6320,1566.6492,15.3671); GivePlayerWeapon(playerid, 342, 1); //342 - Frag Grenade | playerid | weaponid | ammo | return 1; } }
Код:
public OnGameModeInit() { Gnade1 = CreatePickup(342,1,2000.6320,1566.6492,15.3671); return 1; }