/invite cmd small bug [+Rep]
#3

Quote:
Originally Posted by Gammix
Посмотреть сообщение
pawn Код:
SetPVarInt(playerid, "Invited_By", -1);
        SetPVarInt(playerid, "Group_ID", -1);
You are checking for INVALID id types when player uses the command /accept.

So that code above must be:
pawn Код:
SetPVarInt(playerid, "Invited_By", INVALID_PLAYER_ID);
        SetPVarInt(playerid, "Group_ID", INVALID_GROUP_ID);
ok i will try
Reply


Messages In This Thread
/invite cmd small bug [+Rep] - by simo0000 - 18.06.2015, 14:30
Re: /invite cmd small bug [+Rep] - by Gammix - 18.06.2015, 14:32
Re: /invite cmd small bug [+Rep] - by simo0000 - 18.06.2015, 14:34
Re: /invite cmd small bug [+Rep] - by simo0000 - 18.06.2015, 14:40

Forum Jump:


Users browsing this thread: 1 Guest(s)