30.01.2014, 00:42
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; }