28.01.2013, 20:37
Galera ajuda aki.
Qualquer org q chega e digita /roubar, consegue atй os Cops.
Qualquer org q chega e digita /roubar, consegue atй os Cops.
pawn Код:
if(strcmp(cmd,"/roubar",true)==0)
{
if(PlayerInfo[playerid][pMembro] != 5 && PlayerInfo[playerid][pLider] != 5
&& PlayerInfo[playerid][pMembro] != 14 && PlayerInfo[playerid][pLider] != 14
&& PlayerInfo[playerid][pMembro] != 0 && PlayerInfo[playerid][pLider] != 0
&& 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] != 25 && PlayerInfo[playerid][pLider] != 25
&& GetPlayerOrg(playerid) != 6 && GetPlayerOrg(playerid) != 6
&& GetPlayerOrg(playerid) != 15 && GetPlayerOrg(playerid) != 15)
{
SendClientMessage(playerid,COLOR_GREY,"Vocк nгo pode assaltar um Banco/Loterica/Loja de Armas 1 e 2/Prefeitura/Mercearia/Posto !");
return 1;
}