Car spawning
#1

Quote:

if(pickupid == Infernus) return CreateVehicle(411,2942.7227,-3081.2732,115.1415,0,0,0);
if(pickupid == Infernus2) return CreateVehicle(411,2939.0242,-3081.2024,115.1415,0,0,0);
if(pickupid == Infernus3) return CreateVehicle(411,2935.2649,-3081.6433,115.1415,0,0,0);
if(pickupid == Turismo) return CreateVehicle(451,2930.7097,-3081.1228,115.1415,0,0,0);
if(pickupid == Turismo2) return CreateVehicle(451,2926.2119,-3080.9050,115.1415,0,0,0);

Gives me :


Quote:

J:\Spellen\Samp server\gamemodes\Race.pwn(454) : warning 202: number of arguments does not match definition
J:\Spellen\Samp server\gamemodes\Race.pwn(455) : warning 202: number of arguments does not match definition
J:\Spellen\Samp server\gamemodes\Race.pwn(456) : warning 202: number of arguments does not match definition
J:\Spellen\Samp server\gamemodes\Race.pwn(457) : warning 202: number of arguments does not match definition
J:\Spellen\Samp server\gamemodes\Race.pwn(45 : warning 202: number of arguments does not match definition

help?
Reply
#2

pawn Код:
if(pickupid == Infernus) return CreateVehicle(411,2942.7227,-3081.2732,115.1415, 0, 0, 15);
if(pickupid == Infernus2) return CreateVehicle(411,2939.0242,-3081.2024,115.1415, 0, 0,15);
if(pickupid == Infernus3) return CreateVehicle(411,2935.2649,-3081.6433,115.1415, 0, 0,15);
if(pickupid == Turismo) return CreateVehicle(451,2930.7097,-3081.1228,115.1415, 0, 0, 15);
if(pickupid == Turismo2) return CreateVehicle(451,2926.2119,-3080.9050,115.1415, 0, 0, 15);
CreateVehicle(vehicleid, x, y, z, angle, color 1, color 2, respawn_delay);
If im right the Respawn_delay can't be 0
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)