dont see any players onplayerspawnselection - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: dont see any players onplayerspawnselection (
/showthread.php?tid=103118)
dont see any players onplayerspawnselection -
Pawno_Master - 18.10.2009
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
Re: dont see any players onplayerspawnselection -
Peter_Corneile - 18.10.2009
Need to put SetPlayerPos a bit far from the camera pos and change the CameraLookAt to the SetPlayerPos coords that you will get