[ AJUDA ] Carros !
#10

PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if(
strcmp(cmdtext"/carid"true) == 0)
    {
        if(
IsPlayerInAnyVehicle(playerid))
        {`
    
            new str[64];
            format(str, 64, "ID do veiculo: %d.",GetPlayerVehicleID(playerid));
            SendClientMessage(playerid, -1, str);
        }
        else return SendClientMessage(playerid, -1, "Vocк nгo estб em nenhum veiculo.");
    }
    return 0;

Coloca este comando no seu GM e faz da forma que o Ricop522 falou.
Reply


Messages In This Thread
[ AJUDA ] Carros ! - by Ghost_ - 12.06.2011, 16:55
Re: [ AJUDA ] Carros ! - by EviL_Knight - 12.06.2011, 17:43
Re: [ AJUDA ] Carros ! - by humildadeforever - 12.06.2011, 19:10
Re: [ AJUDA ] Carros ! - by Ghost_ - 12.06.2011, 19:42
Re: [ AJUDA ] Carros ! - by Ricop522 - 12.06.2011, 19:53
Re: [ AJUDA ] Carros ! - by Ghost_ - 12.06.2011, 19:58
Re: [ AJUDA ] Carros ! - by Ricop522 - 12.06.2011, 20:13
Re: [ AJUDA ] Carros ! - by Ghost_ - 12.06.2011, 20:37
Re: [ AJUDA ] Carros ! - by Ghost_ - 12.06.2011, 21:59
Re: [ AJUDA ] Carros ! - by Shadoww5 - 12.06.2011, 22:22

Forum Jump:


Users browsing this thread: 6 Guest(s)