Need some guidance on setting player spawns
#1

removed
Reply
#2

Some of my video's might help you, https://www.*******.com/user/Aiwa141...ew=0&flow=grid
Reply
#3

removed
Reply
#4

Try this for OnPlayerRequestClass:

pawn Код:
public OnPlayerRequestClass (playerid, classid)
{  
    if(classid == 115)
    {
        SetPlayerPos(playerid, 2498.5054,-1684.9028,13);
        SetPlayerCameraPos(playerid, 2497.2312,-1680.4025,13);
        SetPlayerCameraLookAt(playerid, 2497.2312,-1680.4025,2);
    }
    return 1;
}
Reply
#5

removed
Reply
#6

You mean from AddPlayerClass? It's AddPlayerClass(skinid, X coor, Y coor, Z coor, Facing angle, ....) The dots are all those zeros and are just weapon ids and ammo
Reply
#7

Quote:
Originally Posted by Chenko
Посмотреть сообщение
You mean from AddPlayerClass? It's AddPlayerClass(skinid, X coor, Y coor, Z coor, Facing angle, ....) The dots are all those zeros and are just weapon ids and ammo
I'm talking about setting the camera angle to face the player, so players see the skins they want to chose.
Reply
#8

bump, reached page 5 and still need help
Reply
#9

Quote:
Originally Posted by rymax99
Посмотреть сообщение
bump, reached page 5 and still need help
Don't bump within 24 hours.

You need to use:

pawn Код:
SetPlayerPos(playerid, x, y, z);
SetPlayerCameraPos(playerid, x, y, z);
SetPlayerCameraLookAt(playerid, x, y, z);
SetPlayerFacingAngle(playerid, a);
Where the x, y, z and a's are your co-ordinates.
Reply
#10

removed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)