if (strcmp("/aadm", cmdtext, true, 10) == 0) { if(IsPlayerInRangeOfPoint(playerid,9.0, 1493.6999500,-2752.8999000,7.8000000)) { MoveObject(Gate,1493.6999500,-2752.8999000,13,5.0); SetTimerEx("CloseGate", 10000, false, "i", Gate); SendClientMessage(playerid, COLOR_YELLOW, "Aviso:Portгo HQ Administradores Aberto!"); return 1; } }
if((strcmp(cmd, "/atualizar3dtext", true)==0 || strcmp(cmd, "/a3d", true) ==0) && PlayerInfo[playerid][pAdmin] == 1342) { Atualizar3Dtexts(); return 1; }
no Finalzinho Desse Cmd acho que й ela kk'
Код:
if((strcmp(cmd, "/atualizar3dtext", true)==0 || strcmp(cmd, "/a3d", true) ==0) && PlayerInfo[playerid][pAdmin] == 1342) { Atualizar3Dtexts(); return 1; } |
PlayerInfo[playerid][pAdmin] == 1342)
if (strcmp("/aadm", cmdtext, true, 10) == 0)
{
PlayerInfo[playerid][pAdmin] < 1 )
{
if(IsPlayerInRangeOfPoint(playerid,9.0, 1493.6999500,-2752.8999000,7.8000000))
{
MoveObject(Gate,1493.6999500,-2752.8999000,13,5.0);
SetTimerEx("CloseGate", 10000, false, "i", Gate);
SendClientMessage(playerid, COLOR_YELLOW, "Aviso:Portгo HQ Administradores Aberto!");
return 1;
}
}
if (strcmp("/aadm", cmdtext, true, 10) == 0)
{
PlayerInfo[playerid][pAdmin] < 1 )
{
if(IsPlayerInRangeOfPoint(playerid,9.0, 1493.6999500,-2752.8999000,7.8000000))
{
MoveObject(Gate,1493.6999500,-2752.8999000,13,5.0);
SetTimerEx("CloseGate", 10000, false, "i", Gate);
SendClientMessage(playerid, COLOR_YELLOW, "Aviso:Portгo HQ Administradores Aberto!");
return 1;
}
}
}
if (strcmp("/aadm", cmdtext, true, 10) < 1)
{
if(IsPlayerInRangeOfPoint(playerid,9.0, 1493.6999500,-2752.8999000,7.8000000))
{
MoveObject(Gate,1493.6999500,-2752.8999000,13,5.0);
SetTimerEx("CloseGate", 10000, false, "i", Gate);
SendClientMessage(playerid, COLOR_YELLOW, "Aviso:Portгo HQ Administradores Aberto!");
return 1;
}
}