29.08.2011, 23:05
vou postar o erro e o fs.
ERROS:
AI VAI FS
ERROS:
Код:
C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(13) : error 029: invalid expression, assumed zero C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(72) : error 017: undefined symbol "GetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(73) : error 017: undefined symbol "SetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(66) : warning 203: symbol is never used: "ob" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(66) : warning 203: symbol is never used: "porma" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(66) : warning 203: symbol is never used: "cap" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(66) : warning 203: symbol is never used: "por" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(66) : warning 203: symbol is never used: "alar" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(66) : warning 203: symbol is never used: "lu" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(66) : warning 203: symbol is never used: "mot" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(66 -- 79) : warning 217: loose indentation C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(87) : error 017: undefined symbol "GetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(88) : error 017: undefined symbol "SetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(81) : warning 203: symbol is never used: "ob" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(81) : warning 203: symbol is never used: "porma" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(81) : warning 203: symbol is never used: "cap" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(81) : warning 203: symbol is never used: "por" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(81) : warning 203: symbol is never used: "alar" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(81) : warning 203: symbol is never used: "lu" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(81) : warning 203: symbol is never used: "mot" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(102) : error 017: undefined symbol "GetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(103) : error 017: undefined symbol "SetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(96) : warning 203: symbol is never used: "ob" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(96) : warning 203: symbol is never used: "porma" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(96) : warning 203: symbol is never used: "cap" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(96) : warning 203: symbol is never used: "por" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(96) : warning 203: symbol is never used: "alar" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(96) : warning 203: symbol is never used: "lu" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(96) : warning 203: symbol is never used: "mot" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(117) : error 017: undefined symbol "GetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(118) : error 017: undefined symbol "SetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(111) : warning 203: symbol is never used: "ob" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(111) : warning 203: symbol is never used: "porma" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(111) : warning 203: symbol is never used: "cap" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(111) : warning 203: symbol is never used: "por" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(111) : warning 203: symbol is never used: "alar" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(111) : warning 203: symbol is never used: "lu" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(111) : warning 203: symbol is never used: "mot" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(132) : error 017: undefined symbol "GetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(133) : error 017: undefined symbol "SetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(126) : warning 203: symbol is never used: "ob" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(126) : warning 203: symbol is never used: "porma" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(126) : warning 203: symbol is never used: "cap" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(126) : warning 203: symbol is never used: "por" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(126) : warning 203: symbol is never used: "alar" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(126) : warning 203: symbol is never used: "lu" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(126) : warning 203: symbol is never used: "mot" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(147) : error 017: undefined symbol "GetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(148) : error 017: undefined symbol "SetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(141) : warning 203: symbol is never used: "ob" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(141) : warning 203: symbol is never used: "porma" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(141) : warning 203: symbol is never used: "cap" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(141) : warning 203: symbol is never used: "por" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(141) : warning 203: symbol is never used: "alar" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(141) : warning 203: symbol is never used: "lu" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(141) : warning 203: symbol is never used: "mot" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(162) : error 017: undefined symbol "GetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(163) : error 017: undefined symbol "SetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(156) : warning 203: symbol is never used: "ob" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(156) : warning 203: symbol is never used: "porma" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(156) : warning 203: symbol is never used: "cap" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(156) : warning 203: symbol is never used: "por" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(156) : warning 203: symbol is never used: "alar" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(156) : warning 203: symbol is never used: "lu" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(156) : warning 203: symbol is never used: "mot" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(177) : error 017: undefined symbol "GetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(178) : error 017: undefined symbol "SetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(171) : warning 203: symbol is never used: "ob" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(171) : warning 203: symbol is never used: "porma" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(171) : warning 203: symbol is never used: "cap" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(171) : warning 203: symbol is never used: "por" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(171) : warning 203: symbol is never used: "alar" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(171) : warning 203: symbol is never used: "lu" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(171) : warning 203: symbol is never used: "mot" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(192) : error 017: undefined symbol "GetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(193) : error 017: undefined symbol "SetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(186) : warning 203: symbol is never used: "ob" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(186) : warning 203: symbol is never used: "porma" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(186) : warning 203: symbol is never used: "cap" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(186) : warning 203: symbol is never used: "por" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(186) : warning 203: symbol is never used: "alar" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(186) : warning 203: symbol is never used: "lu" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(186) : warning 203: symbol is never used: "mot" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(207) : error 017: undefined symbol "GetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(208) : error 017: undefined symbol "SetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(201) : warning 203: symbol is never used: "ob" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(201) : warning 203: symbol is never used: "porma" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(201) : warning 203: symbol is never used: "cap" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(201) : warning 203: symbol is never used: "por" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(201) : warning 203: symbol is never used: "alar" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(201) : warning 203: symbol is never used: "lu" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(201) : warning 203: symbol is never used: "mot" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(222) : error 017: undefined symbol "GetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(223) : error 017: undefined symbol "SetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(216) : warning 203: symbol is never used: "ob" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(216) : warning 203: symbol is never used: "porma" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(216) : warning 203: symbol is never used: "cap" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(216) : warning 203: symbol is never used: "por" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(216) : warning 203: symbol is never used: "alar" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(216) : warning 203: symbol is never used: "lu" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(216) : warning 203: symbol is never used: "mot" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(237) : error 017: undefined symbol "GetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(238) : error 017: undefined symbol "SetVehicleParamsEx" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(231) : warning 203: symbol is never used: "ob" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(231) : warning 203: symbol is never used: "porma" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(231) : warning 203: symbol is never used: "cap" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(231) : warning 203: symbol is never used: "por" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(231) : warning 203: symbol is never used: "alar" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(231) : warning 203: symbol is never used: "lu" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(231) : warning 203: symbol is never used: "mot" C:\Documents and Settings\mauricio\Desktop\servermaurilio\filterscripts\Sistema Engine.pwn(252) : error 017: undefined symbol "GetVehicleParamsEx" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
pawn Код:
#include <a_samp>
new motor[MAX_PLAYERS], luz[MAX_PLAYERS], alarme[MAX_PLAYERS], portas[MAX_PLAYERS], capo[MAX_PLAYERS], portamalas[MAX_PLAYERS], objetivo[MAX_PLAYERS];
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" FS Criado Por PlaysoN_StronDa");
print("--------------------------------------\n");
return 1;
}
main()
public OnGameModeInit()
{
new ManualVehicleEngineAndLights();
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerConnect(playerid)
{
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("2", cmdtext, true, 10) == 0)
{
new mot, lu, alar, por, cap, porma, ob;
new carro = GetPlayerVehicleID(playerid);
if(carro != INVALID_VEHICLE_ID)
{
if(motor[playerid] == 0)
{
GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
SetVehicleParamsEx(carro, VEHICLE_PARAMS_ON, lu, alar, por, cap, porma, ob);
motor[playerid] = 1;
SendClientMessage(playerid, 0xFFFFFFAA, "Veiculo {2F991A}Ligado!");
}
}
}
if (strcmp("3", cmdtext, true, 10) == 0)
{
new mot, lu, alar, por, cap, porma, ob;
new carro = GetPlayerVehicleID(playerid);
if(carro != INVALID_VEHICLE_ID)
{
if(motor[playerid] == 1)
{
GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
SetVehicleParamsEx(carro, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob);
motor[playerid] = 0;
SendClientMessage(playerid, 0xFFFFFFAA, "Veiculo {E31919}Desligado!");
}
}
}
if (strcmp("/farolon", cmdtext, true, 10) == 0)
{
new mot, lu, alar, por, cap, porma, ob;
new carro = GetPlayerVehicleID(playerid);
if(carro != INVALID_VEHICLE_ID)
{
if(luz[playerid] == 0)
{
GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
SetVehicleParamsEx(carro, mot, VEHICLE_PARAMS_ON, alar, por, cap, porma, ob);
luz[playerid] = 1;
SendClientMessage(playerid, 0xFFFFFFAA, "Farol {2F991A}Ligado!");
}
}
}
if (strcmp("/faroloff", cmdtext, true, 10) == 0)
{
new mot, lu, alar, por, cap, porma, ob;
new carro = GetPlayerVehicleID(playerid);
if(carro != INVALID_VEHICLE_ID)
{
if(luz[playerid] == 1)
{
GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
SetVehicleParamsEx(carro, mot, VEHICLE_PARAMS_OFF, alar, por, cap, porma, ob);
luz[playerid] = 0;
SendClientMessage(playerid, 0xFFFFFFAA, "Farol {E31919}Desligado!");
}
}
}
if (strcmp("/alarme", cmdtext, true, 10) == 0)
{
new mot, lu, alar, por, cap, porma, ob;
new carro = GetPlayerVehicleID(playerid);
if(carro != INVALID_VEHICLE_ID)
{
if(alarme[playerid] == 0)
{
GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
SetVehicleParamsEx(carro, mot, lu, VEHICLE_PARAMS_ON, por, cap, porma, ob);
alarme[playerid] = 1;
SendClientMessage(playerid, 0xFFFFFFAA, "Alarme {2F991A}Ligado!");
}
}
}
if (strcmp("/desalarme", cmdtext, true, 10) == 0)
{
new mot, lu, alar, por, cap, porma, ob;
new carro = GetPlayerVehicleID(playerid);
if(carro != INVALID_VEHICLE_ID)
{
if(alarme[playerid] == 1)
{
GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
SetVehicleParamsEx(carro, mot, lu,VEHICLE_PARAMS_OFF, por, cap, porma, ob);
alarme[playerid] = 0;
SendClientMessage(playerid, 0xFFFFFFAA, "Alarme {E31919}Desligado!");
}
}
}
if (strcmp("/portaon", cmdtext, true, 10) == 0)
{
new mot, lu, alar, por, cap, porma, ob;
new carro = GetPlayerVehicleID(playerid);
if(carro != INVALID_VEHICLE_ID)
{
if(portas[playerid] == 0)
{
GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
SetVehicleParamsEx(carro, mot, lu, alar, VEHICLE_PARAMS_ON, cap, porma, ob);
portas[playerid] = 1;
SendClientMessage(playerid, 0xFFFFFFAA, "Portas {2F991A}Abertas!");
}
}
}
if (strcmp("/portaoff", cmdtext, true, 10) == 0)
{
new mot, lu, alar, por, cap, porma, ob;
new carro = GetPlayerVehicleID(playerid);
if(carro != INVALID_VEHICLE_ID)
{
if(portas[playerid] == 1)
{
GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
SetVehicleParamsEx(carro, mot, lu, alar, VEHICLE_PARAMS_OFF, cap, porma, ob);
portas[playerid] = 0;
SendClientMessage(playerid, 0xFFFFFFAA, "Portas {E31919}Fechadas!");
}
}
}
if (strcmp("/capoon", cmdtext, true, 10) == 0)
{
new mot, lu, alar, por, cap, porma, ob;
new carro = GetPlayerVehicleID(playerid);
if(carro != INVALID_VEHICLE_ID)
{
if(capo[playerid] == 0)
{
GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
SetVehicleParamsEx(carro, mot, lu, alar, por, VEHICLE_PARAMS_ON, porma, ob);
capo[playerid] = 1;
SendClientMessage(playerid, 0xFFFFFFAA, "Capo {2F991A}Aberto!");
}
}
}
if (strcmp("/capooff", cmdtext, true, 10) == 0)
{
new mot, lu, alar, por, cap, porma, ob;
new carro = GetPlayerVehicleID(playerid);
if(carro != INVALID_VEHICLE_ID)
{
if(capo[playerid] == 1)
{
GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
SetVehicleParamsEx(carro, mot, lu, alar, por, VEHICLE_PARAMS_OFF, porma, ob);
capo[playerid] = 0;
SendClientMessage(playerid, 0xFFFFFFAA, "Capo {E31919}Fechado!");
}
}
}
if (strcmp("/pmalaon", cmdtext, true, 10) == 0)
{
new mot, lu, alar, por, cap, porma, ob;
new carro = GetPlayerVehicleID(playerid);
if(carro != INVALID_VEHICLE_ID)
{
if(portamalas[playerid] == 0)
{
GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
SetVehicleParamsEx(carro, mot, lu, alar, por, cap, VEHICLE_PARAMS_ON, ob);
portamalas[playerid] = 1;
SendClientMessage(playerid, 0xFFFFFFAA, "Portamalas {2F991A}Aberto!");
}
}
}
if (strcmp("/pmalaoff", cmdtext, true, 10) == 0)
{
new mot, lu, alar, por, cap, porma, ob;
new carro = GetPlayerVehicleID(playerid);
if(carro != INVALID_VEHICLE_ID)
{
if(portamalas[playerid] == 1)
{
GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
SetVehicleParamsEx(carro, mot, lu, alar, por, cap, VEHICLE_PARAMS_OFF, ob);
portamalas[playerid] = 0;
SendClientMessage(playerid, 0xFFFFFFAA, "Portamalas {E31919}Fechado!");
}
}
}
if (strcmp("/marcaon", cmdtext, true, 10) == 0)
{
new mot, lu, alar, por, cap, porma, ob;
new carro = GetPlayerVehicleID(playerid);
if(carro != INVALID_VEHICLE_ID)
{
if(objetivo[playerid] == 0)
{
GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
SetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, VEHICLE_PARAMS_ON);
objetivo[playerid] = 1;
SendClientMessage(playerid, 0xFFFFFFAA, "Marca {2F991A}Ativada!");
}
}
}
if (strcmp("/marcaoff", cmdtext, true, 10) == 0)
{
new mot, lu, alar, por, cap, porma, ob;
new carro = GetPlayerVehicleID(playerid);
if(carro != INVALID_VEHICLE_ID)
{
if(objetivo[playerid] == 1)
{
GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
SetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, VEHICLE_PARAMS_OFF);
objetivo[playerid] = 0;
SendClientMessage(playerid, 0xFFFFFFAA, "Marca {E31919}Desativada!");
}
}
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}
public OnRconCommand(cmd[])
{
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}
public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}
public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}
public OnPlayerUpdate(playerid)
{
return 1;
}
public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}
public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}
public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}
public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}