05.11.2009, 23:55
Hi!
On top of my gamemode there is;
I use it for the spawn location of the players;
So now I wan't to make a command so I can change the spawn location in-game...
Please help me (:
Thanks!
On top of my gamemode there is;
Код:
new Float:WarLoc[2][4] = { {1.1,1.1,1.1,1.1}, // loc1 {1.1,1.1,1.1,1.1} // loc2 };
Код:
AddPlayerClassEx(TEAM_GROVE, 105, WarLoc[0][0], WarLoc[0][1], WarLoc[0][2], WarLoc[0][3], 0, 0, 0, 0, 0, 0); AddPlayerClassEx(TEAM_GROVE, 106, WarLoc[0][0], WarLoc[0][1], WarLoc[0][2], WarLoc[0][3], 0, 0, 0, 0, 0, 0); AddPlayerClassEx(TEAM_GROVE, 107, WarLoc[0][0], WarLoc[0][1], WarLoc[0][2], WarLoc[0][3], 0, 0, 0, 0, 0, 0); AddPlayerClassEx(TEAM_BALLAS, 102, WarLoc[0][0], WarLoc[0][1], WarLoc[0][2], WarLoc[0][3], 0, 0, 0, 0, 0, 0); AddPlayerClassEx(TEAM_BALLAS, 103, WarLoc[0][0], WarLoc[0][1], WarLoc[0][2], WarLoc[0][3], 0, 0, 0, 0, 0, 0); AddPlayerClassEx(TEAM_BALLAS, 104, WarLoc[0][0], WarLoc[0][1], WarLoc[0][2], WarLoc[0][3], 0, 0, 0, 0, 0, 0);
Please help me (:
Thanks!