SA-MP Forums Archive
[Help] OnPlayerRequestClass - 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: [Help] OnPlayerRequestClass (/showthread.php?tid=661361)



[Help] OnPlayerRequestClass - ApolloScripter - 01.12.2018

My OnPlayerRequestClass isn't working, he jumps straight to OnPlayerSpawn

PHP код:
public OnPlayerRequestClass(playeridclassid)
{
    
TextDrawHideForPlayer(playeridfome);
    
TextDrawHideForPlayer(playeridtxtDateDisp22);
    
timertimer SetTimer("LimpaChat"1000true);
    
SetPlayerCameraPos(playerid, -1503.02142256.6299335.7523);
    
SetPlayerCameraLookAt(playerid, -1504.02162256.6760335.7275);
    return 
1;




Re: [Help] OnPlayerRequestClass - GloomY - 01.12.2018

Are you using any filterscripts that return 0 in OnPlayerRequestClass?


Re: [Help] OnPlayerRequestClass - ApolloScripter - 01.12.2018

Quote:
Originally Posted by GloomY
Посмотреть сообщение
Are you using any filterscripts that return 0 in OnPlayerRequestClass?
I Have a login system, but a'm not sure if he returns 0, i'll search if is it.


Re: [Help] OnPlayerRequestClass - ApolloScripter - 01.12.2018

I checked, and no, haven't, what more could be?