30.03.2014, 16:07
Hi, I made little derby system and i want to know how to do this:
if players variable "derbyplace" is 1 then teleport player on first coordinates, if derbyplace is 2 then on second...
I don't know how should i use "SetPlayerPos(playerid, d2[0][1],d2[0][2],d2[0][3]);" for the first one?? or what?
if players variable "derbyplace" is 1 then teleport player on first coordinates, if derbyplace is 2 then on second...
I don't know how should i use "SetPlayerPos(playerid, d2[0][1],d2[0][2],d2[0][3]);" for the first one?? or what?
Код:
new Float:d2[][] = { {1434.7871,-1765.2822,33.4297,270.7333}, {1526.8738,-1765.1311,33.4297,86.1782}, {1547.0848,-1795.5977,33.4243,358.7808}, {1495.6282,-1816.4321,33.4243,84.9483} };