SA-MP Forums Archive
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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problem. (/showthread.php?tid=106751)



Problem. - Striker_Moe - 05.11.2009

Hi there.

At my class selection, the skin ALWAYS is CJ, and you cant press select. What did I do wrong?


Re: Problem. - Striker_Moe - 05.11.2009

Can anyone help me? Its pretty urgent.


Re: Problem. - Lajko1 - 05.11.2009

i had same problem too , but i dont know how i fix it try to check all filterscripts and check if is under ongamemodeinit addplayerclass(etc,etc) and delete this


Re: Problem. - GTA_Rules - 05.11.2009

Are you sure you added more than one class?


Re: Problem. - Striker_Moe - 05.11.2009

Код:
	AddPlayerClassEx(1, 287,214.194396,1863.726440,13.140625,270.1425,0,0,0,0,0,0);
	AddPlayerClassEx(2, 285,-228.306442,2729.432861,62.687500,270.1425,0,0,0,0,0,0);
	AddPlayerClassEx(4, 118,402.7635,2543.5525,16.5445,270.1425,0,0,0,0,0,0);
	AddPlayerClassEx(3, 283,-329.3654,1536.9030,76.6117,267.0215,0,0,0,0,0,0);
	AddPlayerClass(gRandomSkin[rand][0], -911.0206,2686.2388,42.3703, 269.15, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(medicrandom[rand][0],-548.7089,2593.8406,53.7338,271.2005,0,0,0,0,0,0);
Um.. yes.



Re: Problem. - Finn - 05.11.2009

Are those under OnGameModeInIt?


Re: Problem. - Striker_Moe - 05.11.2009

Figured the problem out.

Missing return at OnPlayerRequestClass Q_Q