[Ajuda] Limitar criaзгo /veh
#1

pawn Код:
if(strcmp(cmd, "/veh", true) == 0 || strcmp(cmd, "/ccar", true) == 0)
    {
        GetPlayerName(playerid, sendername, sizeof(sendername));
        PlayerInfo[playerid][pAdmin] = dini_Int(udb_encode(sendername), "level");
        if(logged[playerid] == 1)
        {
    if(PlayerInfo[playerid][pAdmin] >= 1  || PlayerInfo[playerid][pORG] >= 1 || PlayerInfo[playerid][pREPORTER] >= 1 || PlayerInfo[playerid][pVIP] >= 1 )
            {
                ShowMenuForPlayer(Vehicle,playerid);
                TogglePlayerControllable(playerid, 0);
            }
            else
            {
                SendClientMessage(playerid, COLOR_RED, "Vocк nгo tem permissгo para usar este comando!");
            }
        }
        else
        {
            SendClientMessage(playerid, COLOR_RED, "Vocк tem que estar logado para usar este comando!");
        }
        return 1;
    }
Reply


Messages In This Thread
Limitar criaзгo /veh - by maluco88 - 15.09.2012, 00:30
Re: Limitar criaзгo /veh - by FenixBorn - 15.09.2012, 00:47
Re: Limitar criaзгo /veh - by FenixBorn - 15.09.2012, 00:51
Re: Limitar criaзгo /veh - by maluco88 - 15.09.2012, 00:53
Re: Limitar criaзгo /veh - by FenixBorn - 15.09.2012, 00:53
Re: Limitar criaзгo /veh - by maluco88 - 15.09.2012, 00:58
Re: Limitar criaзгo /veh - by maluco88 - 15.09.2012, 01:17
Re: Limitar criaзгo /veh - by Coreia - 15.09.2012, 01:22
Re: Limitar criaзгo /veh - by maluco88 - 15.09.2012, 01:26
Re: Limitar criaзгo /veh - by maluco88 - 15.09.2012, 12:02

Forum Jump:


Users browsing this thread: 1 Guest(s)