10.12.2010, 15:03
Hello people i want to make script when player enter in pickup he teleport in building
but i have in pawno 3 erros plz help me what i need to change
and now i added
but i have in pawno 3 erros plz help me what i need to change
Код:
new pickup; new pickup1;
Код:
pickup = CreatePickup(1276, 1,318.30764770508, -2247.7016601563, 19.656326293945, -1); pickup1 = CreatePickup(1276, 1, 967.01745605469, -53.267635345459, 1000.6781005859, -1);
Код:
public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == pickup) SetPlayerPos(playerid, 967.01745605469, -53.267635345459, 1000.6781005859); if(pickupid == pickup1) SetPlayerPos(playerid, 318.30764770508, -2247.7016601563, 19.656326293945); return 1; }