[HELP] How to change Spawn PoinT? - 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)
+--- Thread: [HELP] How to change Spawn PoinT? (
/showthread.php?tid=277143)
[HELP] How to change Spawn PoinT? -
ServerScripter - 16.08.2011
Hello, i Want change Spawn Point to a Small village, but the players spawn in LV How to Fix It ?
Re: [HELP] How to change Spawn PoinT? -
Kitten - 16.08.2011
pawn Код:
public OnPlayerSpawn(playerid) {
SetPlayerPos(playerid,x,y,z);
return 1;
}
Re: [HELP] How to change Spawn PoinT? -
PhoenixB - 16.08.2011
In your script is there - AddPlayerClass etc? Change the X,Y,Z to your desired X,Y,Z coordination, if not check under public OnPlayerSpawn if there is anything to do with SetPlayerPos at all
Re: [HELP] How to change Spawn PoinT? -
ServerScripter - 16.08.2011
Thanx Kitten !
Re: [HELP] How to change Spawn PoinT? -
ServerScripter - 16.08.2011
Yes PhoenixB, i need opnly edit addplayerclass Thanx !
Re: [HELP] How to change Spawn PoinT? -
PhoenixB - 16.08.2011
No problem
Re: [HELP] How to change Spawn PoinT? -
iggy1 - 16.08.2011
This is a slightly more advanced way to do it and it can be placed in any callback that has "playerid" (or function that refers to a playerid) It has other useful params like spawn team/weapons.
https://sampwiki.blast.hk/wiki/SetSpawnInfo
Re: [HELP] How to change Spawn PoinT? -
Gamer_007 - 21.12.2011
thnx bro