SA-MP Forums Archive
Character Spawn Problem - 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: Character Spawn Problem (/showthread.php?tid=405881)



Character Spawn Problem - Dreamvalian - 08.01.2013

hi bro..

i have some problem with the start game..
every i spawn the character in game start i always not seen the character anims

this is the picture
http://prntscr.com/oigwm

thanks be4


Re: Character Spawn Problem - Antonioh - 08.01.2013

You Spawn in this Location Or?

Quote:
http://prntscr.com/oigwm



Re: Character Spawn Problem - Dreamvalian - 09.01.2013

this location only :3

, i can't create a script for spawn player T_T


Re: Character Spawn Problem - Avi Raj - 09.01.2013

Add some class at GameModeInit.
And show me your OnPlayerRequestClass.


Re: Character Spawn Problem - Dreamvalian - 09.01.2013

http://prntscr.com/olcln this is the OnPlayerRequestClass.

and what i must add at GameModeInit.


Re: Character Spawn Problem - Avi Raj - 09.01.2013

Put this on OnPlayerRequestClass :
pawn Код:
SetPlayerPos(playerid,11.9577,1716.7191,22.6222);
SetPlayerFacingAngle(playerid, 128.0980);
SetPlayerInterior(playerid, 0);
SetPlayerCameraPos(playerid,9.6063,1715.1882,22.6113);
SetPlayerCameraLookAt(playerid,11.9577,1716.7191,22.6222);
CreateExplosion(11.9577,1716.7191,22.6222, 12, 0.1);
and see this : AddPlayerClass

Hope i Helped you.