Jump to content
  • 0

Argument Type Mismatch


Mark S.

Question

Problemă întâlnită (descriere): Am aceste erori
Ero(area / rile) / warning-(ul / urile):

 

C:UsersADesktopserverreserver- run blow - Copygamemodeslarp.pwn(24731) : error 035: argument type mismatch (argument 2)
C:UsersADesktopserverreserver- run blow - Copygamemodeslarp.pwn(24739) : error 035: argument type mismatch (argument 2)
C:UsersADesktopserverreserver- run blow - Copygamemodeslarp.pwn(24747) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664              Copyright © 1997-2006, ITB CompuPhase


3 Errors.
 

Liniile de cod / sursa / script-ul:

 

 

if (playerState == PLAYER_STATE_DRIVER)
    {
        if(VehicleEngine[vehicleid] == 1)
        {
            GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
24731            GetVehicleParamsEx(vehicleid, 1, lights, alarm, doors, bonnet, boot, objective);
        }
    }
    if (playerState == PLAYER_STATE_DRIVER)
    {
          if(IsABike(pveh))
          {
            GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
 24739           GetVehicleParamsEx(vehicleid, 1, lights, alarm, doors, bonnet, boot, objective);
        }
    }
    if (playerState == PLAYER_STATE_DRIVER)
    {
        if(pveh == 462)
        {
            GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
   24747         GetVehicleParamsEx(vehicleid, 1, lights, alarm, doors, bonnet, boot, objective);
        }
    }

Imagini / Video (optional):
Aţi încercat să rezolvaţi singur?: da

Edited by Selby
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

if (playerState == PLAYER_STATE_DRIVER)
  {
    if(VehicleEngine[vehicleid] == 1)
    {
      GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
      SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective);
    }
  }
  if (playerState == PLAYER_STATE_DRIVER)
  {
    if(IsABike(pveh))
    {
      GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
      SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective);
    }
  }
  if (playerState == PLAYER_STATE_DRIVER)
  {
    if(pveh == 462)
    {
      GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
      SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective);
    }
  }

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

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.