[Pedido] Comandos
#6

Quote:
Originally Posted by FenixBorn
Посмотреть сообщение
aн vc esta fefinindo ele para admins e para membros da org numero 1.
pawn Код:
if(!strcmp("/reparar",cmdtext,true))
{
    GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
    GetPlayerName(playerid, sendername, sizeof(sendername));
    if(logged[playerid] == 1)
    {
        if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pORG] >= 1 )
        {
        SendClientMessage(playerid,COLOR_GOLD, "[INFO] Vocк reparou seu veнculo.");
        RepairVehicle(GetPlayerVehicleID(playerid));
else if(Player[playerid][pAdmin] == 0)
      SendClientMessage(playerid,-1, " voce nao й um admin!");

        return 1;
}
>= | Maior ou igual б...

pawn Код:
if(!strcmp("/reparar",cmdtext,true))
{
    if(logged[playerid] == 1)
    {
         if(PlayerInfo[playerid][pAdmin] > 0 || PlayerInfo[playerid][pORG] > 0)
         {
              SendClientMessage(playerid,COLOR_GOLD, "[INFO] Vocк reparou seu veнculo.");
              RepairVehicle(GetPlayerVehicleID(playerid));
         }else{
              SendClientMessage(playerid, -1, "fica na sola fdp @_@");
         }
    }      
    return 1;
}
Reply


Messages In This Thread
Comandos - by maluco88 - 14.09.2012, 20:32
Re: Comandos - by Crueliz0n - 14.09.2012, 20:49
Re: Comandos - by FenixBorn - 14.09.2012, 21:03
Re: Comandos - by maluco88 - 14.09.2012, 22:04
Re: Comandos - by FenixBorn - 15.09.2012, 00:16
Re: Comandos - by @Riichard - 15.09.2012, 00:26
Re: Comandos - by FenixBorn - 15.09.2012, 00:49

Forum Jump:


Users browsing this thread: 1 Guest(s)