05.07.2011, 00:06
(
Последний раз редактировалось Joao_VS; 05.07.2011 в 01:29.
)
@Edited
Isso ei jб corrigi. Leia meu utimo post!
Isso ei jб corrigi. Leia meu utimo post!
undefined symbol "GetVehicleParamsEx"
undefined symbol "SetVehicleParamsEx"
undefined symbol "AttachObjectToVehicle"
#include <a_vehicles>
/*erros:*/ undefined symbol "GetVehicleParamsEx" & undefined symbol "SetVehicleParamsEx"
//Linha
{
NoFuel[i] = 1;
GetVehicleParamsEx(vid,engine,lights2,alarm,doors2,bonnet,boot,objective);
SetVehicleParamsEx(vid,VEHICLE_PARAMS_OFF,lights2,alarm,doors2,VEHICLE_PARAMS_ON,boot,objective);
GameTextForPlayer(i,"~w~~n~~n~~n~veўculo enguicado ~n~/servico mecanico Para arrumar",2500,3);
}
/*erros:*/ undefined symbol "AttachObjectToVehicle"
//linhas:
if(dialogid == 1136)
{
if(response)
{
if(listitem == 0)
{
new vehicleid = GetOwnedVehicleID(playerid);
if(vehicleid == INVALID_VEHICLE_ID) return SendClientMessage(playerid, COLOR_RED, "[BML] Vocк nгo possui Veiculo.");
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon", CreateObject(18648,0,0,0,0,0,0));
SetPVarInt(playerid, "neon1", CreateObject(18648,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetOwnedVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetOwnedVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xAA3333AA, "[BML] Neon comprado por R$2000!");
GivePlayerGP(playerid,-2000);
CarroNEON[playerid] = 1;
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
}
native GetVehicleParamsEx(vehicleid, &engine, &lights, &alarm, &doors, &bonnet, &boot, &objective);
native SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
native AttachObjectToVehicle(objectid, vehicleid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:RotZ);