Y_ini - 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: Y_ini (
/showthread.php?tid=442096)
Y_ini -
nickstar - 05.06.2013
Im having a problem that I do not know what to do and i get this warning
(710) : warning 213: tag mismatch
This is when the player logs in it will set the player to the faction the player was in when they left
But i do not know how it should be place i have all the rest of the code good just this part gets this warning
Group_SetPlayer(Group:groupid,playerid,PlayerInfo[playerid][pFaction]);
This is when the player connects to the server it will set the players server group. Im using y_groups
Re: Y_ini -
nickstar - 06.06.2013
Any one have any idea
Re: Y_ini -
Giroud12 - 06.06.2013
maybe add
or
can u show all your scripts?
Re: Y_ini -
nickstar - 06.06.2013
Here is the whole scripts
http://pastebin.com/s2PkGkHX
Re: Y_ini -
Giroud12 - 06.06.2013
try change to:
pawn Код:
Group_SetPlayer(Group:groupid , playerid, PlayerInfo[playerid][pFaction] , true);
Re: Y_ini -
nickstar - 06.06.2013
Line number 710 is this code
Group_SetPlayer(Group:groupid , playerid, PlayerInfo[playerid][pFaction] , true);
and warnings are after i changed it are:
(710) : warning 213: tag mismatch
(710) : warning 202: number of arguments does not match definition
Re: Y_ini -
Giroud12 - 06.06.2013
Remove
Re: Y_ini -
nickstar - 06.06.2013
I still get this warning (710) : warning 213: tag mismatch
Re: Y_ini -
Giroud12 - 06.06.2013
You know u can use this FS,its just warning not erros
Re: Y_ini -
nickstar - 06.06.2013
Will it still work with it and it will save the players faction