16.12.2011, 17:43
Hi!
I have this code installed:
But my question is: I need 1 code for where the "Pick up"/Arror should be (That you hit so you come inside the interior) And 1 for whats interior it is so can some one tell me where I should put arrow code and the interior code...
I'm not 100 sure xD
I have this code installed:
pawn Код:
//Creating the arrow
new pickupname;
public OnGameModeInit()
{
pickupname = CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld)
//Arrow = 1318
//Type
// 23 Pickupable, but doesn't disappear on pickup.
// 2 Pickupable, respawns after some time.
}
public OnPlayerPickUpPickup(playerid,pickupid)
{
if(pickupid == pickupname)
{
//Your function
}
}
I'm not 100 sure xD