PlayerClassSelectionHelp? - 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: PlayerClassSelectionHelp? (
/showthread.php?tid=66940)
PlayerClassSelectionHelp? -
MasterShwuan - 25.02.2009
I am working on of my first GM's and I am having problems with the player class selection. When it loads into the character slelection screen I am able to choose between chars. but it doesnt display the,m on the screen.would any1 be able to help?
Re: PlayerClassSelectionHelp? -
Grim_ - 25.02.2009
Use:
pawn Код:
SetPlayerPos
SetPlayerCameraPos
SetPlayerCameraLookAt
You can check up on them here:
https://sampwiki.blast.hk/wiki/Category:Scripting_Functions
Re: PlayerClassSelectionHelp? -
MasterShwuan - 25.02.2009
thanks Icy_Cold
I already had it inserted into my playerrequest but still nothing..? any ideas?
Код:
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);
new Float:X, Float:Y, Float:Z;
GetPlayerPos (playerid, X, Y, Z);
PlayerPlaySound (playerid, 1058, X, Y, Z);