HELP!!!!!
#1

How Can i create a new spawn point for new players??

Help me!!
Reply
#2

Код:
public OnPlayerRequestClass(playerid, classid) // Here are cordinates where you can request class
{
        // Note: Change X , Y, Z with your cordinats
        SetPlayerPos(playerid, X, Y,Z);
        SetPlayerCameraLookAt(playerid, X, Y,Z);
        SetPlayerCameraPos(playerid, X, Y, Z);
	return 1;
}
And under on OnPlayerSpawn

Код:
SetPlayerPos(playerid, X,Y,Z); // Change X , Y, Z with your cordinats
SetPlayerFacingAngle(playerid, A); // Change A with Cordinates where you want your player to look in
Reply
#3

Quote:
Originally Posted by RenSoprano
Посмотреть сообщение
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, X, Y,Z);

return 1;
}
That won't work since you put it under OnPlayerRequestClass

Try to get the X, Y, Z coordinates of the spawn point and under OnPlayerSpawn
set his position using SetPlayerPos, And SetPlayerFacingAngle.
Reply
#4

Quote:
Originally Posted by Glint
Посмотреть сообщение
That won't work since you put it under OnPlayerRequestClass

Try to get the X, Y, Z coordinates of the spawn point and under OnPlayerSpawn
set his position using SetPlayerPos, And SetPlayerFacingAngle.
I wasn't ready I missclick post it
Reply
#5

"RenSoprano" What is SetPlayerPosEx ? Is it new lol ? This is the first time i am hearing about it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)