OnPlayerRequestClass classid Only returning 3 skins?
#3

I've got version 3.1 .

But when i try use OnPlayerRequestClassEx i got
Код:
 warning 235: public function lacks forward declaration (symbol "OnPlayerRequestClassEx")
so i used

pawn Код:
forward OnPlayerRequestClassEx(playerid, classid);
But then when it goes to class selection it only shows CJ and it only calls it once, and does not call it again even when using left and right keys

Currently I have (#include <YSI\y_classes>) at the bottom of my includes.
I dont use (#inclide <YSI>) becuase i get a whole bunch of errors that I have tried to search and fix but no luck.

Such as:
- I get a whole bunch of "Undefined Symbol "cmd_..." with only some, but most of my commands. (Using zcmd)
- warning 203: symbol is never used: "Langs_AddLanguage"
- warning 201: redefinition of constant/macro (symbol "CMD:%0(%1)")

I have tried disabling zcmd but get:
- a bunch of loose indentation (its all correct)
- Most but not all commands are "Undefined symbol"


When I was using the standard AddPlayerClass it was working fine, but that was when I was going to class selection after the player had logged in/registered.

I'm trying to get it so that the player logs in at the class selection screen, and if they are registered already shows the skin they have selected. hence why i'm trying to use Class_Add

EDIT:
I have included all of <YSI>.. what a nightmare, had to figure out the lang_add thing.. took me a while. Also converted all my commands to YCMD now working nicely.
Anyway, still doing the same thing but only warning i get now is " warning 235: public function lacks forward declaration (symbol "OnPlayerRequestClassEx")"



******, you should add something for double commands? example:
pawn Код:
YCMD:cmds(playerid, params[], help) return YCMD_commands(playerid, params[], help);
YCMD:commands(playerid, params[], help)
{
    //Commands
}
EDIT 2:
Tried the bete version of YSI (4.0) but get the following errors
Код:
...\pawno\include\YSI\..\YSI_Visual\y_classes/multiclass.inc(768) : error 017: undefined symbol "Player_InSelection"
...\pawno\include\YSI\..\YSI_Visual\y_commands/impl.inc(229) : error 025: function heading differs from prototype
...\pawno\include\YSI\..\YSI_Storage\y_svar/ini.inc(114) : error 017: undefined symbol "INI_WriteArray"
...\pawno\include\YSI\..\YSI_Players\y_users/ini.inc(633) : error 017: undefined symbol "INI_WriteArray"
...\pawno\include\YSI\..\YSI_Players\y_users/ini.inc(628) : warning 203: symbol is never used: "len"
Reply


Messages In This Thread
OnPlayerRequestClass classid Only returning 3 skins? - by [DK]Dark_Knight - 07.11.2014, 22:43
Re: OnPlayerRequestClass classid Only returning 3 skins? - by Eth - 07.11.2014, 22:59
Re: OnPlayerRequestClass classid Only returning 3 skins? - by [DK]Dark_Knight - 08.11.2014, 01:32
Re: OnPlayerRequestClass classid Only returning 3 skins? - by [DK]Dark_Knight - 08.11.2014, 23:56

Forum Jump:


Users browsing this thread: 2 Guest(s)