Mark S. Posted October 12, 2014 Report Share Posted October 12, 2014 (edited) 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 October 12, 2014 by Selby Link to comment Share on other sites More sharing options...
Ph0eniX Posted October 12, 2014 Report Share Posted October 12, 2014 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 More sharing options...
Mark S. Posted October 12, 2014 Author Report Share Posted October 12, 2014 merge multumesc Link to comment Share on other sites More sharing options...
Question
Mark S.
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):
Edited by SelbyAţi încercat să rezolvaţi singur?: da
Link to comment
Share on other sites
2 answers to this question
Recommended Posts