warning 202: number of arguments does not match definition
#3

Well, The parameters is wrong so take a look at wiki

https://sampwiki.blast.hk/wiki/CreateVehicle

Example:
PHP код:
public OnGameModeInit ()
{
    
vehicle_id CreateVehicle(5960.00.015.090.050120); // I change this
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"Example Text"0xFF0000AA0.00.00.050.00);
    
//Creating the Vehicle
    //Attaching Text Label To Vehicle
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , vehicle_id0.00.02.0);
    
Create3DTextLabel("I'm at the coordinates:\n30.0, 40.0, 50.0"0x008080FF30.040.050.040.000);
    return 
1;

Quote:

modelid The model for the vehicle.
Float:X The X coordinate for the vehicle. // 596
Float:Y The Y coordinate for the vehicle. // 0.0
Float:Z The Z coordinate for the vehicle. // 0.0
Float:angle The facing angle for the vehicle. // 90.0
color1 The primary color ID. // 5
color2 The secondary color ID. // 0
respawn_delay The delay until the car is respawned without a driver in seconds. Using -1 will prevent the vehicle from respawning. // 120
addsiren Added in 0.3.7; will not work in earlier versions. Has a default value 0. Enables the vehicle to have a siren, providing the vehicle has a horn. // no need, because it has a default value 0.

Reply


Messages In This Thread
warning 202: number of arguments does not match definition - by Rafaeloo - 29.02.2016, 21:40
Re: warning 202: number of arguments does not match definition - by Runn3R - 29.02.2016, 22:27
Re: warning 202: number of arguments does not match definition - by MicroKyrr - 01.03.2016, 07:51

Forum Jump:


Users browsing this thread: 1 Guest(s)