SA-MP Forums Archive
were can i edit were a player spawns - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: were can i edit were a player spawns (/showthread.php?tid=179143)



were can i edit were a player spawns - Exterminator - 25.09.2010

Hello i want to know were k i edit were players spawns plzz! thnx!


Re: were can i edit were a player spawns - MadeMan - 25.09.2010

Look for AddPlayerClass or OnPlayerSpawn.


Respuesta: were can i edit were a player spawns - Exterminator - 25.09.2010

what do i look for in add player class?? or onplayerspawn??


Re: Respuesta: were can i edit were a player spawns - Matej_ - 25.09.2010

[QUOTE=Exterminator;851235]what do i look for in add player class??

pawn Код:
public OnGameModeInit()



Re: were can i edit were a player spawns - Mike_Peterson - 25.09.2010

the x,y,z probably AddPlayerClass(0,1243.5315,631.3159,26.531, bla bla bla
the first 3 after the skin id, 0 - 299 are x,y,z locations


Re: Respuesta: were can i edit were a player spawns - MadeMan - 25.09.2010

Quote:
Originally Posted by Exterminator
Посмотреть сообщение
what do i look for in add player class?? or onplayerspawn??
Coordinates.


Respuesta: were can i edit were a player spawns - Exterminator - 25.09.2010

I traid fixing were it says add player class but still spawns in the same place!


Re: were can i edit were a player spawns - Mike_Peterson - 25.09.2010

ya oops i forgot just use OnPlayerSpawn SetPlayerPos(playerid,[You're co-ordinates]);