11.08.2010, 22:00
Im not sure but try this
Remove new Gnade1;
Remove new Gnade1;
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == 342)
{
CreatePickup(342,1,2000.6320,1566.6492,15.3671);
GivePlayerWeapon(playerid, 342, 1); //342 - Frag Grenade | playerid | weaponid | ammo |
return 1;
}
}
pawn Код:
public OnGameModeInit()
{
CreatePickup(342,1,2000.6320,1566.6492,15.3671);
return 1;
}