[Ajuda] Error
#2

TENTA AE

Quote:

CMDintar(playerid,params[])
{
new String[128];
new tmp[24];
new tmp2[24];
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 ( tmp ) )
return SendClientMessage ( playerid , -1 , "Use /pintar [ Cor ]" ) ;

ChangeVehicleColor(GetPlayerVehicleID(playerid),tm p,tmp);
format ( String , sizeof ( String ) , "Voce Mudou a Cor do seu veiculo para : %i" , tmp2 ) ;
SendClientMessage ( playerid , -1 , String ) ;
return 1;
}

ou

Quote:

CMDintar(playerid,params[])
{
new String[128];
new tmp[24];
new tmp2[24];
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 ( tmp ) )
return SendClientMessage ( playerid , -1 , "Use /pintar [ Cor ]" ) ;

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

OU

Quote:

CMDintar(playerid,params[])
{
new vehicleid = GetPlayerVehicleID(playerid)
new String[128],tmp[24],tmp2[24];
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 ( tmp ) )return SendClientMessage ( playerid , -1 , "Use /pintar [ Cor ]" ) ;
ChangeVehicleColor(vehicleid),tmp,tmp2);
format ( String , sizeof ( String ) , "Voce Mudou a Cor do seu veiculo para : %i" , tmp2 ) ;
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: 3 Guest(s)