[Ajuda] Error
#8

Tem que saber a diferenзa entre STRING e ITERADOR.


pawn Код:
CMD:pintar(playerid,params[])
    {
                new String[128];

                if ( ! dini_Exists ( String ) )
                    return SendClientMessage ( playerid , -1 , "Vocк nгo possui um veiculo !" ) ;

                if ( ! IsPlayerInVehicle ( playerid , CarroJogador [ playerid ] ) )
                    return  SendClientMessage ( playerid , 0xFFFFFFAA , "Vocк nгo estб no seu veiculo." ) ;

                if ( ! strlen ( params ) )
                    return SendClientMessage ( playerid , -1 , "Use /pintar [ Cor ]" ) ;

            ChangeVehicleColor(GetPlayerVehicleID(playerid), strval(params),strval(params));
            format ( String , sizeof ( String ) , "Voce Mudou a Cor do seu veiculo para : %i" , strval(params) ) ;
            SendClientMessage ( playerid , -1 , String ) ;
            return 1;
        }
Reply


Messages In This Thread
Error - by Rodrigo_Avenged - 05.02.2013, 14:10
Re: Error - by WotusPower - 05.02.2013, 14:13
Re: Error - by MatheusAlcapone - 05.02.2013, 14:14
Re: Error - by Rodrigo_Avenged - 05.02.2013, 14:17
Re: Error - by WotusPower - 05.02.2013, 14:21
Re: Error - by MatheusAlcapone - 05.02.2013, 14:22
Re: Error - by WotusPower - 05.02.2013, 14:28
Re: Error - by zSuYaNw - 05.02.2013, 18:44
Re: Error - by Rodrigo_Avenged - 05.02.2013, 23:51

Forum Jump:


Users browsing this thread: 1 Guest(s)