if(strcmp(cmd,"/Arrombar",true)==0) { if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5||PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6||PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11||PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14||PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15||PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16) { if(!IsPlayerInRangeOfPoint(playerid , 2, 1445.1947,-979.6173,57.5156)) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк nгo estб na porta do Cassino !"); if(IsPlayerInRangeOfPoint(playerid , 2, 1445.1947,-979.6173,57.5156)) { if (decodificado2 == 1) { SendClientMessage(playerid, COLOR_LIGHTBLUE,"A porta ja foi decodificada e estб aberta!"); return 1; } if (decodificando[playerid] == 1) { SendClientMessage(playerid, COLOR_LIGHTBLUE,"Vocк ja estб decodificando a porta!"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "*** %s tenta decodificar a porta.", sendername); ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetTimerEx("decodificar2",10000,0,"i",playerid); decodificando2[playerid] = 1; WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255,"Decodificar a porta do Banco"); } } else { SendClientMessage(playerid, COLOR_GREY, "Vocк nгo faz parte de uma Gang !"); } return 1; }
if(strcmp(cmd,"/decodificar",true)==0) { if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5||PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6||PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11||PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14||PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15||PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16) { if(!IsPlayerInRangeOfPoint(playerid , 2, 2148.9299,1605.7605,1006.1743)) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк nгo estб na porta do Cassino !"); if(IsPlayerInRangeOfPoint(playerid , 2, 2148.9299,1605.7605,1006.1743)) { if (decodificado == 1) { SendClientMessage(playerid, COLOR_LIGHTBLUE,"A porta ja foi decodificada e estб aberta!"); return 1; } if (decodificando[playerid] == 1) { SendClientMessage(playerid, COLOR_LIGHTBLUE,"Vocк ja estб decodificando a porta!"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "*** %s tenta decodificar a porta.", sendername); ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetTimerEx("decodificar",10000,0,"i",playerid); decodificando[playerid] = 1; WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255,"Decodificar a porta do Cassino"); } } else { SendClientMessage(playerid, COLOR_GREY, "Vocк nгo faz parte de uma Gang !"); } return 1; }
}
else{
Originally Posted by [Full
Garfield[XDB] ]
Vocк quer Digitar Um comando para Aзхes diferentes ? Bota: pawn Код:
|
if(strcmp(cmd,"/decodificar",true)==0)
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5||PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6||PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11||PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14||PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15||PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
{
if(!IsPlayerInRangeOfPoint(playerid , 2, 1445.1947,-979.6173,57.5156)) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк nгo estб na porta do Cassino !");
if(IsPlayerInRangeOfPoint(playerid , 2, 1445.1947,-979.6173,57.5156))
{
if (decodificado2 == 1)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE,"A porta ja foi decodificada e estб aberta!");
return 1;
}
if (decodificando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Vocк ja estб decodificando a porta!");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "*** %s tenta decodificar a porta.", sendername);
ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SetTimerEx("decodificar2",10000,0,"i",playerid);
decodificando2[playerid] = 1;
WantedPoints[playerid]+=2;
SetPlayerCriminal(playerid,255,"Decodificar a porta do Banco");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Vocк nгo faz parte de uma Gang !");
}
return 1;
}
if(strcmp(cmd,"/decodificar",true)==0)
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5||PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6||PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11||PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14||PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15||PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
{
if(!IsPlayerInRangeOfPoint(playerid , 2, 2148.9299,1605.7605,1006.1743)) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк nгo estб na porta do Cassino !");
if(IsPlayerInRangeOfPoint(playerid , 2, 2148.9299,1605.7605,1006.1743))
{
if (decodificado == 1)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE,"A porta ja foi decodificada e estб aberta!");
return 1;
}
if (decodificando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Vocк ja estб decodificando a porta!");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "*** %s tenta decodificar a porta.", sendername);
ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SetTimerEx("decodificar",10000,0,"i",playerid);
decodificando[playerid] = 1;
WantedPoints[playerid]+=2;
SetPlayerCriminal(playerid,255,"Decodificar a porta do Cassino");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Vocк nгo faz parte de uma Gang !");
}
return 1;
}
if(strcmp(cmd,"/decodificar",true)==0)
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5||PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6||PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11||PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14||PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15||PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
{
if(!IsPlayerInRangeOfPoint(playerid , 2, 2148.9299,1605.7605,1006.1743)) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк nгo estб na porta do Cassino !");
if(IsPlayerInRangeOfPoint(playerid , 2, 2148.9299,1605.7605,1006.1743))
{
if (decodificado == 1)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE,"A porta ja foi decodificada e estб aberta!");
return 1;
}
if (decodificando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Vocк ja estб decodificando a porta!");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "*** %s tenta decodificar a porta.", sendername);
ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SetTimerEx("decodificar",10000,0,"i",playerid);
decodificando[playerid] = 1;
WantedPoints[playerid]+=2;
SetPlayerCriminal(playerid,255,"Decodificar a porta do Cassino");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Vocк nгo faz parte de uma Gang !");
}
else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5||PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6||PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11||PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14||PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15||PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
{
if(!IsPlayerInRangeOfPoint(playerid , 2, 1445.1947,-979.6173,57.5156)) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк nгo estб na porta do Cassino !");
if(IsPlayerInRangeOfPoint(playerid , 2, 1445.1947,-979.6173,57.5156))
{
if (decodificado2 == 1)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE,"A porta ja foi decodificada e estб aberta!");
return 1;
}
if (decodificando[playerid] == 1)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Vocк ja estб decodificando a porta!");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "*** %s tenta decodificar a porta.", sendername);
ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SetTimerEx("decodificar2",10000,0,"i",playerid);
decodificando2[playerid] = 1;
WantedPoints[playerid]+=2;
SetPlayerCriminal(playerid,255,"Decodificar a porta do Banco");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Vocк nгo faz parte de uma Gang !");
}
return 1;
}
C:\DOCUME~1\ADMINI~1\Desktop\xxx\GAMEMO~1\xxx.pwn(23653) : error 029: invalid expression, assumed zero C:\DOCUME~1\ADMINI~1\Desktop\xxx\GAMEMO~1\xxx.pwn(23653) : warning 215: expression has no effect C:\DOCUME~1\ADMINI~1\Desktop\xxx\GAMEMO~1\xxx.pwn(23653) : error 001: expected token: ";", but found "if" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase