An additional player class showing up ?! - 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: An additional player class showing up ?! (
/showthread.php?tid=147736)
An additional player class showing up ?! -
DJDhan - 14.05.2010
Hi again,
Now, I have added four player classes into the gamemode and used SetPlayerTeamFromClass.
When i go in-game and browse through the classes, thenere is an additional 5th class of CJ. I can't see CJ but on spawing i can see him.

.
Now if I didn't add this player class,then how is it even showing up in the player classes ?!
Any help is appreciated.
Re: An additional player class showing up ?! -
alpha500delta - 14.05.2010
Quote:
Originally Posted by DJDhan
Hi again,
Now, I have added four player classes into the gamemode and used SetPlayerTeamFromClass.
When i go in-game and browse through the classes, thenere is an additional 5th class of CJ. I can't see CJ but on spawing i can see him.  .
Now if I didn't add this player class,then how is it even showing up in the player classes ?!
Any help is appreciated.
|
Thats the standard class I think (every new script has it).
Search in your script for this line:
AddPlayerClass(0,
And delete that.
Hope I helped (if not, I dont know whats wrong then).
Re: An additional player class showing up ?! -
DJDhan - 14.05.2010
Quote:
Originally Posted by alpha500delta
Thats the standard class I think (every new script has it).
Search in your script for this line:
AddPlayerClass(0,
And delete that.
Hope I helped (if not, I dont know whats wrong then).
|
Yes, I checked for the AddPlayerClass(0,..............) but there is nothing like that in the whole script.
Re: An additional player class showing up ?! -
alpha500delta - 14.05.2010
lol thats weird, checked other filterscripts?
Maybe its a standard of SA-MP...
Re: An additional player class showing up ?! -
0ne - 14.05.2010
It is standart since 0.3 i think, i'm getting it too.