OnPlayerRequestClass? Place with my choice - 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: OnPlayerRequestClass? Place with my choice (
/showthread.php?tid=76727)
OnPlayerRequestClass? Place with my choice -
veskosid - 05.05.2009
SetPlayerInterior
SetPlayerPos
SetPlayerFacingAngle
SetPlayerCameraPos
SetPlayerCameraLookAt
Hi all i want to more information for this commands i want when i select player backround to be with my choice.Well i wanna choose the place when i select the player.Sorry for my bad english.
Re: OnPlayerRequestClass? Place with my choice -
Divine - 05.05.2009
Quote:
Originally Posted by veskosid
SetPlayerInterior
SetPlayerPos
SetPlayerFacingAngle
SetPlayerCameraPos
SetPlayerCameraLookAt
Hi all i want to more information for this commands i want when i select player backround to be with my choice.Well i wanna choose the place when i select the player.Sorry for my bad english.
|
well this is messed up, but you will get the point of this example i hope
pawn Код:
public OnPlayerRequestClass(blah...
}
if(skinid == id)
{
// set player pos .. blah blah
}
{
if(skinid == id)
{
//blah blah... so son
}
{
i hope you get what i mean ?
Re: OnPlayerRequestClass? Place with my choice -
veskosid - 05.05.2009
Yeah but can you give me some cool place for background when i select player i will be very impressed
Re: OnPlayerRequestClass? Place with my choice -
veskosid - 05.05.2009
?
Re: OnPlayerRequestClass? Place with my choice -
*ToM* - 05.05.2009
stop double posting
pawn Код:
public SetupPlayerForClassSelection(playerid)
{
SetPlayerCameraPos(playerid, 2446.008056, -1974.017700, 13.546875);
SetPlayerCameraLookAt(playerid, 2442.248535, -1971.448486, 13.546875);
SetPlayerPos(playerid, 2442.248535, -1971.448486, 13.546875);
SetPlayerInterior(playerid, 0);
SetPlayerFacingAngle(playerid, 226.874053);
}