03.05.2010, 16:55
problem is that in /back command u tell pawno to set u as back before checking if u r back
so it should be :
Код:
IsAfkBrb[playerid] = 0; IsBack[playerid] = 1; // this should be after the checking if(IsBack[playerid] == 1) return SendClientMessage(playerid,TELEWARN, "[WARNING] You are already back");
Код:
if(IsBack[playerid] == 1) return SendClientMessage(playerid,TELEWARN, "[WARNING] You are already back"); IsAfkBrb[playerid] = 0; IsBack[playerid] = 1;