SA-MP Forums Archive
Stupid problem with Class Selection... - 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: Stupid problem with Class Selection... (/showthread.php?tid=115714)



Stupid problem with Class Selection... - Andrew_David - 25.12.2009

my problem is that when I choose a skin does not change. always get the old skin... i use Sagc Rp.


Re: Stupid problem with Class Selection... - DiddyBop - 25.12.2009

post your code for the classes under ongamemodeinit...


Re: Stupid problem with Class Selection... - Andrew_David - 25.12.2009

im a good coder also i made some commands like /quitfaction /setskin etc... but idk why this shit is failing.
Код:
	AddPlayerClass(0, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(195, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(192, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(193, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(194, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(138, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(97, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(133, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(160, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(198, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(161, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(202, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(34, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(152, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(237, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(85, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(90, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(258, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(259, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(23, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(177, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(176, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(70, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(242, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(29, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(66, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(73, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(101, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(15, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(170, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(184, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(188, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(19, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(21, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(22, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(214, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(226, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(223, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(234, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(24, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(250, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(37, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(36, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(44, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(46, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(93, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(47, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(59, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(60, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(233, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(7, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(98, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(56, 2131.8938,-1148.9084,24.3262,359.9447, 0, 0, 0, 0, 0, 0);
i select it and all it works but when i chose the skin it dont change. maybe is something what have the gm.


Re: Stupid problem with Class Selection... - patchkinson - 25.12.2009

Quote:
Originally Posted by Andrew_David
i select it and all it works but when i chose the skin it dont change. maybe is something what have the gm.
yup, must be! or maybaw a filterscript


Re: Stupid problem with Class Selection... - MadeMan - 25.12.2009

Show your OnPlayerSpawn callback.