warning help
#1

Код:
warning 202: number of arguments does not match definition
line is just:
}
.
Код:
warning 202: number of arguments does not match definition
line:
sp1 = AddStaticVehicleEx(462,1637.1680,-2262.1943,13.0686,358.9492,1,1);
.
Код:
warning 202: number of arguments does not match definition
line:
CreateVehicle(CarInfo[vehid][cModel],CarInfo[vehid][cLocationx],CarInfo[vehid][cLocationy],CarInfo[vehid][cLocationz]+1.0,CarInfo[vehid][cAngle],60000);
.
Код:
warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
line is nothing
PLZ Help
Reply
#2

Can you show one part of this? No just one line.
Reply
#3

how can i put one part?O_o
they are in different parts
Reply
#4

This is the correct usage of AddStaticVehicleEx
pawn Код:
AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay);
"respawn_delay" , which means the delay until the car is respawned in seconds.
So you can just add a respawn delay with seconds, or make it AddStaticVehicle if you don't want it to respawn.

CreateVehicle:
pawn Код:
CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay);
You forgot to add color1 and color2.

And about the other warnings, you should show some lines before them so we can see what's the problem.
Reply
#5

again warning !
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)