[Pomoć] - Pickup ?

Započeo elemental., Avgust 22, 2012, 14:17:36 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: GM od 0
Detaljan opis problema: Dodavao sam pickupove u interior(od 0), ali mi ga ne prikazuje, a kada doÄ'em do njega, dobijem gun:
Dio skripte: Evo sve Å¡to sam dodavao oko pickupova:

new RMgun;

RMgun = CreatePickup(31,1,1851.8812,-1718.4275,2796);

public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == RMgun)
{
GivePlayerWeapon(playerid, 31, 150);
SCM(playerid, COLOR_WHITE, "Uzeo si M4 (150 metaka)");
}
  return 1;
}
Poslednja Izmena: Avgust 22, 2012, 14:22:42 POSLE PODNE od SpaMaster

Koristi streamer: http://forum.sa-mp.com/showthread.php?t=102865/

CreateDynamicPickup(MODELID, TIP, Float:x, Float:y, Float:z, VIRTUALWORLDID = -1, INTERIORID = -1, PLAYERID = -1, Float:streamdistance = 100.0);


public OnPlayerPickUpDynamicPickup(playerid, pickupid)
{
if(pickupid == RMgun)
{
GivePlayerWeapon(playerid, 31, 150);
SCM(playerid, COLOR_WHITE, "Uzeo si M4 (150 metaka)");
}
  return 1;
}