#1

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
Reply
#2

Any one have any idea
Reply
#3

maybe add
pawn Код:
float
or
can u show all your scripts?
Reply
#4

Here is the whole scripts

http://pastebin.com/s2PkGkHX
Reply
#5

try change to:
pawn Код:
new Group:groupid;
pawn Код:
Group_SetPlayer(Group:groupid , playerid, PlayerInfo[playerid][pFaction] , true);
Reply
#6

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
Reply
#7

Remove
pawn Код:
true
Reply
#8

I still get this warning (710) : warning 213: tag mismatch
Reply
#9

You know u can use this FS,its just warning not erros
Reply
#10

Will it still work with it and it will save the players faction
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)