error 035: argument type mismatch (argument 1)
#1

I need help.

Код:
#define DERBY_CARS 9
new DB_VehicleID[DERBY_CARS] =
{
	415,
	502,
	504,
	541,
	561,
	560,
	562,
	400,
	549
};
Код:
DBP_Vehicle[playerid] = CreateVehicle(DB_VehicleID,DB_Spawns[DBP_Stats[playerid]][RandomDerby][0], DB_Spawns[DBP_Stats[playerid]][RandomDerby][1], DB_Spawns[DBP_Stats[playerid]][RandomDerby][2]+2,0,random(126), random(126),50000);
Reply
#2

You declared an array with id models at inside, you must using it like an array :
Код:
DBP_Vehicle[playerid] = CreateVehicle(DB_VehicleID[?], ...
Reply
#3

This will not work for you, playerid might be over 8 which is the highest index of your array with models.
Reply
#4

ohh. Thanks

It's working
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)