[HELP] How to change Spawn PoinT?
#1

Hello, i Want change Spawn Point to a Small village, but the players spawn in LV How to Fix It ?
Reply
#2

pawn Код:
public OnPlayerSpawn(playerid) {
     SetPlayerPos(playerid,x,y,z);
     return 1;
}
Reply
#3

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
Reply
#4

Thanx Kitten !
Reply
#5

Yes PhoenixB, i need opnly edit addplayerclass Thanx !
Reply
#6

No problem
Reply
#7

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
Reply
#8

thnx bro
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)