29.06.2009, 18:09
someone deleted my old post so...
I made a pickup which is kinda like a elevator when someone enters it they get tp to another place but its not working when i enter it nothing happens
i have made a pick up which is called value
so what did i do wrong
I made a pickup which is kinda like a elevator when someone enters it they get tp to another place but its not working when i enter it nothing happens
Код:
public OnPlayerPickupPickup(playerid, pickupid) { if (1318 == value) // Check that the picked up pickup id is the same as the id of the one we created { SetPlayerPos(playerid,1616.4656,-2249.4036,-2.8516); return 1; }
Код:
value = CreatePickup(1318,19,1589.4851,-2286.0991,-1.2050);