Jump to content

Question

Posted

Am 1 warn ...

warning 202: number of arguments does not match definition
linia
AddVehicleMissiles(Vehicle,1.1,0.0,-0.2);
si...va rog eu mult daca ati putea sa imitreceti si mie acest system pe ZCMD ca nu ma descurc de loc cu strcmp..
#include <a_samp>
#include <VM>

new Vehicle;

public OnFilterScriptExit()
{
        DestroyVehicle(Vehicle);
        return 1;
}

public OnPlayerCommandText(playerid,cmdtext[])
{
        if(!strcmp(cmdtext,"/vm",true))
        {
			DestroyVehicle(Vehicle);
			RemoveVehicleMissiles(Vehicle);
			new
			Float:x,
			Float:y,
			Float:z;
			GetPlayerPos(playerid,x,y,z);
			Vehicle = 0;
			Vehicle = CreateVehicle(429,x,y,z,0.0,-1,-1,1000);
			AddVehicleMissiles(Vehicle,1.1,0.0,-0.2);
			PutPlayerInVehicle(playerid,Vehicle,0);
			return 1;
        }
        return 0;
}

public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
    VM_OnPlayerKeyStateChange(playerid,newkeys);
    return 1;
}

public VM_OnVehicleFire(vehicleid,slot)
{
    return 1;
}

Mersi :)

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

6 answers to this question

Recommended Posts

Posted

In loc de AddVehicleMissiles(Vehicle,1.1,0.0,-0.2); pune AddVehicle(Vehicle,1.1,0.0,-0.2);

 

 

Posted

da da eu nu vreau sa imi creeze masina sau ceva de genu...eu vreau sa adauge missile la masina

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Posted

da da eu nu vreau sa imi creeze masina sau ceva de genu...eu vreau sa adauge missile la masina

Ce ar vrea sa insemne "missile"?

 

 

Posted

missile - rachete :) in eng...

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Posted

gireada / next datii unu warn la asta :| deja e... dupa ce ca e pe dinafara mai si da reply aiurea... T/C pls

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.