15.07.2013, 13:14
If you are using exactly my code, this shouldn't happen.
Let's debug it
Then run the invite command
@down:
Do what I said in this post
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);
@down:
Do what I said in this post