Car spawn
#1

Hi. I have warning:
Code:
warning 202: number of arguments does not match definition
Line:
Code:
 car = CreateVehicle(415, Random[0], Random[1], Random[2], -1, -1, 60);
How to fix?
Reply
#2

the correct parameters
PHP Code:
(modelidFloat:xFloat:yFloat:zFloat:anglecolor1color2respawn_delayaddsiren=0
Reply
#3

Example:
PHP Code:
CreateVehicle(411150015001518000, -1); 
This will spawn an Infernus(411), at LV airport somewhere with black colour(0, 0).
Siren is optional.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)