08.01.2016, 15:22
Hey, there like i am making few location spawns.
I am making 1 enum,if his enum is 1 he must be teleported at posX1,posY1,posZ1 .. I am asking if it's possible to set the value of the POS in the new Spawns before.. And after an command execution he will be teleported as per his enum value. if its possible let me know.
Код:
new Spawns[][4] = { {posX1,posY1,posZ1}, {posX2,posY2,posZ2}, {posX3,posY3,posZ3}, {posX4,posY4,posZ4}, {posX5,posY5,posZ5}, {posX6,posY6,posZ6} }; stock SetPos(playerid) { SetPlayerPos(playerid,HIS ENUM VALUE}); }