SA-MP Forums Archive
Default 0.3e samp spawn - 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: Default 0.3e samp spawn (/showthread.php?tid=392845)



Default 0.3e samp spawn - isheremse - 16.11.2012

Hello

I just wanna to know is it possible to make class selection on default samp 0.3 start screen.

tnx


Respuesta: Default 0.3e samp spawn - [CG]Milito - 16.11.2012

Of course, just get the correct coords


Re: Default 0.3e samp spawn - [HK]Ryder[AN] - 16.11.2012

It is verona beach i guess. go there, use airbreak or something, get coords and paste in the codes


Re: Default 0.3e samp spawn - -=Dar[K]Lord=- - 16.11.2012

pawn Код:
// Use OnPlayerConnect
SetPlayerCameraPos(playerid, CoordinateX,CoordinateY,CoordinateZ);
SetPlayerCameraLookAt(playerid,CoordinateX, CoordinateY, CoordinateX);
If You Dont Know how to do it its simple just go in air ... then save a pos that will be ur playerscamera pos

now go some where very far[not very i mean out of san :P] and save ur pos that will be ur playerscameralookat...


Re: Default 0.3e samp spawn - isheremse - 16.11.2012

Quote:
Originally Posted by -=Dar[K]Lord=-
Посмотреть сообщение
pawn Код:
// Use OnPlayerConnect
SetPlayerCameraPos(playerid, CoordinateX,CoordinateY,CoordinateZ);
SetPlayerCameraLookAt(playerid,CoordinateX, CoordinateY, CoordinateX);
If You Dont Know how to do it its simple just go in air ... then save a pos that will be ur playerscamera pos

now go some where very far[not very i mean out of san :P] and save ur pos that will be ur playerscameralookat...
But can i just put that in OnPlayerRequestClass so that i can select skin that i add?


Re: Default 0.3e samp spawn - Vince - 16.11.2012

If you don't use any camera positioning in OnPlayerRequestClass then the camera will stick on that default position when the player enters class selection for the first time. Those last four words are very important! It won't work if the player re-enters the class selection through F4 or ForceClassSelection.


Re: Default 0.3e samp spawn - isheremse - 16.11.2012

Quote:
Originally Posted by Vince
Посмотреть сообщение
If you don't use any camera positioning in OnPlayerRequestClass then the camera will stick on that default position when the player enters class selection for the first time. Those last four words are very important! It won't work if the player re-enters the class selection through F4 or ForceClassSelection.
Can i find exact location of that default position or i must go myself and thray to locate it?
Because as you can see when connect to default samp it is already default spawn position but without skinid to select, so i think that is only need to put some skinid to show it.