[Ajuda] Erros 18, Se alguem puder
#1

Ta Havendo um Erro no Codigo.

Se alguem puder ajudar.

Erros.

Quote:

C:\Users\Jorge\Desktop\Neon.pwn(49) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Users\Jorge\Desktop\Neon.pwn(50 ) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Users\Jorge\Desktop\Neon.pwn(58 ) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Users\Jorge\Desktop\Neon.pwn(59 ) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Users\Jorge\Desktop\Neon.pwn(68 ) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Users\Jorge\Desktop\Neon.pwn(69 ) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Users\Jorge\Desktop\Neon.pwn(78 ) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Users\Jorge\Desktop\Neon.pwn(79 ) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Users\Jorge\Desktop\Neon.pwn(88 ) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Users\Jorge\Desktop\Neon.pwn(89 ) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Users\Jorge\Desktop\Neon.pwn(98 ) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Users\Jorge\Desktop\Neon.pwn(99 ) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Users\Jorge\Desktop\Neon.pwn(108 ) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Users\Jorge\Desktop\Neon.pwn(109 ) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Users\Jorge\Desktop\Neon.pwn(118 ) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Users\Jorge\Desktop\Neon.pwn(119 ) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Users\Jorge\Desktop\Neon.pwn(128 ) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Users\Jorge\Desktop\Neon.pwn(129 ) : error 017: undefined symbol "AttachObjectToVehicle"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


18 Errors.

@EDIT

Aqui esta da linha 43 a 103 que voce pediu.

Quote:

SetPVarInt(playerid, "neon1", CreateObject(18648,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon installed");
}
if(listitem == 1)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon2", CreateObject(18647,0,0,0,0,0,0));
SetPVarInt(playerid, "neon3", CreateObject(18647,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon2"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon3"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon installed");

}
if(listitem == 2)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon4", CreateObject(18649,0,0,0,0,0,0));
SetPVarInt(playerid, "neon5", CreateObject(18649,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon4"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon5"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon installed");

}
if(listitem == 3)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon6", CreateObject(18652,0,0,0,0,0,0));
SetPVarInt(playerid, "neon7", CreateObject(18652,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon6"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon7"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon installed");

}
if(listitem == 4)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon8", CreateObject(18651,0,0,0,0,0,0));
SetPVarInt(playerid, "neon9", CreateObject(18651,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon8"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon9"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon installed");

}
if(listitem == 5)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon10", CreateObject(18650,0,0,0,0,0,0));
SetPVarInt(playerid, "neon11", CreateObject(18650,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon10"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon11"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon installed");

}
if(listitem == 6)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon12", CreateObject(18653,0,0,0,0,0,0));
SetPVarInt(playerid, "neon13", CreateObject(18653,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon12"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon13"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Special installed");

}
if(listitem == 7)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon14", CreateObject(18654,0,0,0,0,0,0));
SetPVarInt(playerid, "neon15", CreateObject(18654,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon14"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon15"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Special installed");

}
if(listitem ==
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon16", CreateObject(18655,0,0,0,0,0,0));
SetPVarInt(playerid, "neon17", CreateObject(18655,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon16"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon17"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Special installed");

Reply
#2

Posta da linha 48 atй a 130 para eu ver...
Reply
#3

esses erros acontecem por causa das includes nao estao atualizadas baixa o samp-server dnv www.sa-mp.com ja vem com as includes atualizadas
Reply
#4

Se precisar de mais detalhes olhe no samp Wiki: https://sampwiki.blast.hk/wiki/AttachObjectToVehicle

@OFF
EEEE Power.......
Eu ia falar isso...
Reply
#5

k bom
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)