remove joinarena from this
#1

how can i remove joinarena from this and make the code work


Код:
public SetPlayerWeapons(playerid)
{
    if(GetPVarInt(playerid, "IsInArena") >= 0) { return 1; }
	ResetPlayerWeapons(playerid);
	for(new s = 0; s < 12; s++)
	{
		if(PlayerInfo[playerid][pGuns][s] > 0 && PlayerInfo[playerid][pAGuns][s] == 0)
		{
			GivePlayerValidWeapon(playerid, PlayerInfo[playerid][pGuns][s], 60000);
		}
	}
	return 1;
}
Reply
#2

Remove this line:

pawn Код:
if(GetPVarInt(playerid, "IsInArena") >= 0) { return 1; }
?
Reply
#3

Dont Make The >= to ==
Reply
#4

what 1 is right to follow
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)