/invite and /acceptinvite not working :/
#6

If you are using exactly my code, this shouldn't happen.

Let's debug it
pawn Код:
//Find
if(PlayerInfo[playerid][pLeader] == 1 && 1 <= PlayerInfo[playerid][pTeam] <= 7)

//Add line before
//1. If you have access to console:
printf("Is leader: %d, team number: %d, expression result: %d", PlayerInfo[playerid][pLeader], PlayerInfo[playerid][pTeam], PlayerInfo[playerid][pLeader] == 1 && 1 <= PlayerInfo[playerid][pTeam] <= 7);

//2. Otherwise
new debug[64];
format(debug, sizeof debug, "Is leader: %d, team number: %d, expression result: %d", PlayerInfo[playerid][pLeader], PlayerInfo[playerid][pTeam], PlayerInfo[playerid][pLeader] == 1 && 1 <= PlayerInfo[playerid][pTeam] <= 7);
SendClientMessage(playerid, -1, debug);
Then run the invite command

@down:
Do what I said in this post
Reply


Messages In This Thread
/invite and /acceptinvite not working :/ - by arjanforgames - 15.07.2013, 10:02
Re: /invite and /acceptinvite not working :/ - by Misiur - 15.07.2013, 10:06
Re: /invite and /acceptinvite not working :/ - by arjanforgames - 15.07.2013, 11:12
Re: /invite and /acceptinvite not working :/ - by Misiur - 15.07.2013, 12:48
Re: /invite and /acceptinvite not working :/ - by arjanforgames - 15.07.2013, 12:50
Re: /invite and /acceptinvite not working :/ - by Misiur - 15.07.2013, 13:14
Re: /invite and /acceptinvite not working :/ - by arjanforgames - 15.07.2013, 13:20

Forum Jump:


Users browsing this thread: 4 Guest(s)