SA-MP Forums Archive
Object bug or something? - 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)
+--- Thread: Object bug or something? (/showthread.php?tid=487674)



<Removed> - Pettersen - 14.01.2014

Hello! When im saving the position where class selection the caravan is showing.. But when i coming to class selection the caravan is not there in class selection:


Script:
Code:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerCameraPos(playerid, 758.1191, 372.0873, 26.8540);
	SetPlayerCameraLookAt(playerid, 749.6238, 375.3663, 26.3264);
	return 1;
}



Respuesta: Object bug or something? - Swedky - 14.01.2014

You need esablecer a position with 'SetPlayerPos', or simply to establish it already in 'AddPlayerClass'.

https://sampwiki.blast.hk/wiki/OnPlayerRequestClass


Re: Object bug or something? - Beckett - 14.01.2014

Use SetPlayerPos and set yourself nearby.


Re: Object bug or something? - Pettersen - 14.01.2014

Quote:
Originally Posted by EnzoMetlc
View Post
You need esablecer a position with 'SetPlayerPos', or simply to establish it already in 'AddPlayerClass'.

https://sampwiki.blast.hk/wiki/OnPlayerRequestClass
Thanks it worked!

Quote:
Originally Posted by DaniceMcHarley
View Post
Use SetPlayerPos and set yourself nearby.
Thanks to you too! It worked.

+1 Rep to you guys