[Pedido] Comandos
#4

tipo se eu deixa assim vai funcionar so pros admin e org?, e me ajuda a colocar pra se nгo for autorizado a usar aparecer:
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));
        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: 3 Guest(s)