[AJUDA] Pintar
#3

pawn Код:
if(strcmp(cmdtext, "/pintar", true) == 0)
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            new string[100], idx, tmp[64], cor, cor2;
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp)) return SendClientMessage(playerid, -1, "/pintar cor1 cor2");
            cor = strval(tmp);
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp)) return SendClientMessage(playerid, -1, "/pintar cor1 cor2");
            cor2 = strval(tmp);
            ChangeVehicleColor(GetPlayerVehicleID(playerid),cor,cor2);
            format(string, sizeof(string),"[INFORMAЗГO] Vocк mudou a cor do seu veнculo para {FFFFFF}%i/%i{FF0000}.",cor, cor2);
            SendClientMessage(playerid, COLOR_RED, string);
        }
        else return SendClientMessage(playerid, COLOR_RED, "[ERRO] Vocк nгo estб em um veнculo!");
        return 0x01;
    }
Reply


Messages In This Thread
[AJUDA] Pintar - by [AF]Junior - 31.05.2011, 00:07
Re: [AJUDA] Pintar - by yiakin - 31.05.2011, 01:12
Re: [AJUDA] Pintar - by Ricop522 - 31.05.2011, 01:53
Re: [AJUDA] Pintar - by [AF]Junior - 31.05.2011, 15:34
Re: [AJUDA] Pintar - by ApolloRJ - 31.05.2011, 15:53
Re: [AJUDA] Pintar - by Shadoww5 - 31.05.2011, 16:30
Re: [AJUDA] Pintar - by ApolloRJ - 31.05.2011, 17:13
Re: [AJUDA] Pintar - by [NWD]Jim._.Carrey - 31.05.2011, 17:52

Forum Jump:


Users browsing this thread: 1 Guest(s)