14.02.2013, 16:20
Galera, os ids da org q estгo no /roubar, sгo as q tem aoutorizaзгo para roubar, eu queria inverter, akelas orgs q estгo ali с podem roubar.
pawn Код:
if(strcmp(cmd,"/roubar",true)==0)
{
if(PlayerInfo[playerid][pMembro] != 5 && PlayerInfo[playerid][pLider] != 5
&& PlayerInfo[playerid][pMembro] != 8 && PlayerInfo[playerid][pLider] != 8
&& PlayerInfo[playerid][pMembro] != 14 && PlayerInfo[playerid][pLider] != 14
&& PlayerInfo[playerid][pMembro] != 17 && PlayerInfo[playerid][pLider] != 17
&& PlayerInfo[playerid][pMembro] != 18 && PlayerInfo[playerid][pLider] != 18
&& PlayerInfo[playerid][pMembro] != 19 && PlayerInfo[playerid][pLider] != 19
&& PlayerInfo[playerid][pMembro] != 20 && PlayerInfo[playerid][pLider] != 20
&& PlayerInfo[playerid][pMembro] != 21 && PlayerInfo[playerid][pLider] != 21
&& PlayerInfo[playerid][pMembro] != 22 && PlayerInfo[playerid][pLider] != 22
&& PlayerInfo[playerid][pMembro] != 23 && PlayerInfo[playerid][pLider] != 23
&& PlayerInfo[playerid][pMembro] != 24 && PlayerInfo[playerid][pLider] != 24
&& GetPlayerOrg(playerid) != 6 && GetPlayerOrg(playerid) != 12
&& GetPlayerOrg(playerid) != 13 && GetPlayerOrg(playerid) != 15)
{
SendClientMessage(playerid,COLOR_GREY,"Vocк nгo pode assaltar um Banco/Loterica/Binco/Loja de Armas 1, 2");
return 1;
}