Change Position By Timer for all
#1

Solved
Reply
#2

If you want to teleport all the players, you should use a loop, like for.
pawn Код:
for (new i=0;i<MAX_PLAYERS; i++){
SetPlayerPos(i, XYZ);
}
Reply
#3

Dont set pos ongamemodeinit, setplayerpos OnPlayerSpawn

also you should use more adnaced system, like

new Float:MapsSpawn[YourMapCount][4] = {
{x,y,z,HeadRot},
{x,y,z,HeadRot},
{x,y,z,HeadRot}
};

OnPlayerSpawn

SetPlayerPos(playerid,MapSpawns[CurrentMap][0],MapSpawns[CurrentMap][1],MapSpawns[CurrentMap][2]):
SetPlayerFactingAngle(playerid,MapSpawns[CurrentMap][3]);



But always remeber after gmaemodeinit you must spawn player before set anything
Reply
#4

nope he wants every n/a seconds to respawn everyone to a new place hense

pawn Код:
public NextMap()
{
Reply
#5

Oh, now I got it, than just go ahead to set pos
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)