Help!!!
#1

What's wrong? The error is: C:\Documents and Settings\Utente\Documenti\sa_monte_carlo_rp_iltizi o_ita\Monte Carlo RolePlay - Powered by IlTizio aka Pino_Farlocco aka SnFede\pawno\MonteCarlo_Roleplay.pwn(10440) : error 035: argument type mismatch (argument 1)

Код:
stock RegisterStaticVehicle(vehicleid,isdrivable,owner[]="0", vehjob=-1, vehfaction=-1)
{
	new plate[50];
	VehicleInfo[vehicleid][visvalid]=isdrivable;
	format(VehicleInfo[vehicleid][vowner],MAX_PLAYER_NAME,"%s",owner);
	VehicleInfo[vehicleid][vfuel]=100;
	VehicleInfo[vehicleid][venginestate]=ENGINE_OFF;
	VehicleInfo[vehicleid][vislocked]=0;
	VehicleInfo[vehicleid][vhasinsurance]=-1;
	VehicleInfo[vehicleid][vmodel]=GetVehicleModel(vehicleid);
	VehicleInfo[vehicleid][vjob]=vehjob;
	VehicleInfo[vehicleid][vfaction]=vehfaction;
	format(plate,sizeof(plate),"[FC]%d - [%d]",random(99999-10000)+10000,vehicleid);
	VehicleInfo[vehicleid][vlabel_plate]=SetVehicleNumberPlate(plate, 0, 0, 0, 30, 0, 1);
	return 1;
}
Reply


Messages In This Thread
Help!!! - by alanhutch - 08.03.2011, 17:06
Re: Help!!! - by Fool - 08.03.2011, 17:07
Re: Help!!! - by airsoft - 08.03.2011, 23:56
Re: Help!!! - by grand.Theft.Otto - 09.03.2011, 00:15
Re: Help!!! - by airsoft - 09.03.2011, 00:16
Re: Help!!! - by [WF]Demon - 09.03.2011, 00:27

Forum Jump:


Users browsing this thread: 1 Guest(s)