Salve io ho un probleama in questo script qualcuno gentilmente mi puo aiutare
#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;
}
gli errori sono:
C:\Users\Luigi\Desktop\WES clan\pawno\include\VM.inc(57) : error 001: expected token: ",", but found "]"
C:\Users\Luigi\Desktop\WES clan\pawno\include\VM.inc(57) : error 029: invalid expression, assumed zero
C:\Users\Luigi\Desktop\Untitled.pwn(29) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Per farvore riespondete prima possibile
distinti saluti =)
#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;
}
gli errori sono:
C:\Users\Luigi\Desktop\WES clan\pawno\include\VM.inc(57) : error 001: expected token: ",", but found "]"
C:\Users\Luigi\Desktop\WES clan\pawno\include\VM.inc(57) : error 029: invalid expression, assumed zero
C:\Users\Luigi\Desktop\Untitled.pwn(29) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Per farvore riespondete prima possibile
distinti saluti =)