13.06.2016, 15:34
olб, tava tentano edita um FS duma conce q achei na net e tava com 13 erros q eu conseguir resolver, porйm sobrou 4 erros... alguйm me ajuda? vlw
erro:C:\Users\Famнla\Downloads\GM's e Arquivos\GM\+\pawno\include\conce_main.pwn(99) : error 025: function heading differs from prototype
C:\Users\Famнla\Downloads\GM's e Arquivos\GM\+\pawno\include\conce_main.pwn(99 -- 113) : error 021: symbol already defined: "command"
C:\Users\Famнla\Downloads\GM's e Arquivos\GM\+\pawno\include\conce_main.pwn(113) : error 025: function heading differs from prototype
C:\Users\Famнla\Downloads\GM's e Arquivos\GM\+\pawno\include\conce_main.pwn(113 -- 137) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Linhas (99~137):
command (aconce, playerid, params []) {
if(IsPlayerAdmin(playerid)) {
SendClientMessage(playerid, -1, "");
SendClientMessage(playerid, -1, "Comandos dispoveis para a adminsitracao:");
SendClientMessage(playerid, -1, "/aconce /adicionarveiculo /editarconceveiculo");
SendClientMessage(playerid, -1, "Comando efetuado com Sucesso!");
}
SendClientMessage(playerid, -1, "");
SendClientMessage(playerid, -1, "Comandos dispoveis para o jogador:");
SendClientMessage(playerid, -1, "/null");
SendClientMessage(playerid, -1, "Nгo hб comandos para players!");
return true;
}
command (motor, playerid, params []) {
new engine, lights, alarm, doors, bonnet, boot, objective;
if(!IsPlayerInAnyVehicle(playerid)) return true;
for(new i = 0; i < MAX_PLAYER_VEHICLE; i++) {
if(GetPlayerVehicleID(playerid) != playerVeiculo[playerid][i][veiculoVeiculo]) continue;
if(playerVeiculo[playerid][i][veiculoMotor] == true) {
playerVeiculo[playerid][i][veiculoMotor] = false;
GetVehicleParamsEx(playerVeiculo[playerid][i][veiculoVeiculo], engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(playerVeiculo[playerid][i][veiculoVeiculo], 0, lights, alarm, 1, bonnet, boot, objective);
return true;
}
else if(playerVeiculo[playerid][i][veiculoMotor] == false) {
playerVeiculo[playerid][i][veiculoMotor] = true;
GetVehicleParamsEx(playerVeiculo[playerid][i][veiculoVeiculo], engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(playerVeiculo[playerid][i][veiculoVeiculo], 1, lights, alarm, 1, bonnet, boot, objective);
return true;
}
}
GetPlayerVehicleID(playerid);
GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
if(engine == 1) SetVehicleParamsEx(GetPlayerVehicleID(playerid), 0, lights, alarm, boot, bonnet, boot, objective);
else if(engine == 0) SetVehicleParamsEx(GetPlayerVehicleID(playerid), 1, lights, alarm, boot, bonnet, boot, objective);
return true;
}
command(criarv, playerid, params []) {
vlw
erro:C:\Users\Famнla\Downloads\GM's e Arquivos\GM\+\pawno\include\conce_main.pwn(99) : error 025: function heading differs from prototype
C:\Users\Famнla\Downloads\GM's e Arquivos\GM\+\pawno\include\conce_main.pwn(99 -- 113) : error 021: symbol already defined: "command"
C:\Users\Famнla\Downloads\GM's e Arquivos\GM\+\pawno\include\conce_main.pwn(113) : error 025: function heading differs from prototype
C:\Users\Famнla\Downloads\GM's e Arquivos\GM\+\pawno\include\conce_main.pwn(113 -- 137) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Linhas (99~137):
command (aconce, playerid, params []) {
if(IsPlayerAdmin(playerid)) {
SendClientMessage(playerid, -1, "");
SendClientMessage(playerid, -1, "Comandos dispoveis para a adminsitracao:");
SendClientMessage(playerid, -1, "/aconce /adicionarveiculo /editarconceveiculo");
SendClientMessage(playerid, -1, "Comando efetuado com Sucesso!");
}
SendClientMessage(playerid, -1, "");
SendClientMessage(playerid, -1, "Comandos dispoveis para o jogador:");
SendClientMessage(playerid, -1, "/null");
SendClientMessage(playerid, -1, "Nгo hб comandos para players!");
return true;
}
command (motor, playerid, params []) {
new engine, lights, alarm, doors, bonnet, boot, objective;
if(!IsPlayerInAnyVehicle(playerid)) return true;
for(new i = 0; i < MAX_PLAYER_VEHICLE; i++) {
if(GetPlayerVehicleID(playerid) != playerVeiculo[playerid][i][veiculoVeiculo]) continue;
if(playerVeiculo[playerid][i][veiculoMotor] == true) {
playerVeiculo[playerid][i][veiculoMotor] = false;
GetVehicleParamsEx(playerVeiculo[playerid][i][veiculoVeiculo], engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(playerVeiculo[playerid][i][veiculoVeiculo], 0, lights, alarm, 1, bonnet, boot, objective);
return true;
}
else if(playerVeiculo[playerid][i][veiculoMotor] == false) {
playerVeiculo[playerid][i][veiculoMotor] = true;
GetVehicleParamsEx(playerVeiculo[playerid][i][veiculoVeiculo], engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(playerVeiculo[playerid][i][veiculoVeiculo], 1, lights, alarm, 1, bonnet, boot, objective);
return true;
}
}
GetPlayerVehicleID(playerid);
GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
if(engine == 1) SetVehicleParamsEx(GetPlayerVehicleID(playerid), 0, lights, alarm, boot, bonnet, boot, objective);
else if(engine == 0) SetVehicleParamsEx(GetPlayerVehicleID(playerid), 1, lights, alarm, boot, bonnet, boot, objective);
return true;
}
command(criarv, playerid, params []) {
vlw