dont see any players onplayerspawnselection
#1

i use this code for my spawnselection

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerInterior(playerid,0);
return 1;
}

but it wont work i dont see the caracter only the cam wahtas the problem
Reply
#2

Need to put SetPlayerPos a bit far from the camera pos and change the CameraLookAt to the SetPlayerPos coords that you will get
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)