07.02.2011, 20:52
What is the object name of that neon light in MTA? I've searched Object ID 18647 but can't find anything. Thank you
I get this message when i attempt to compile and run can anyone please help me out i would appreciate it alot.
C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(126) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(127) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(137) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(13 : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(150) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(151) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(162) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(163) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(175) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(176) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(18 : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(189) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(201) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(202) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(212) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(213) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(224) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(225) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(235) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(236) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(245) : error 017: undefined symbol "AttachObjectToVehicle" C:\Users\Skyler\Desktop\Real World Roleplay\filterscripts\neon.pwn(246) : error 017: undefined symbol "AttachObjectToVehicle" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 22 Errors. |
public OnPlayerConnect( playerid ) // You must add playerid here
{
//new playerid; // THIS WILL ALWAYS BE 0
SendClientMessage(playerid, COLOR_YELLOW,"This server is using neon system by [EDT]Quattro. Use /neonshop!");
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
new cartype = GetPlayerVehicleID(playerid);
new State=GetPlayerState(playerid);
if(strcmp(cmdtext, "/neonshop", true) == 0)
{
SetPlayerInterior(playerid,0);
{if(State!=PLAYER_STATE_DRIVER) // Wtf is that bracket here
{SetPlayerPos(playerid,-1980.0026,474.2643,29);}
else if(IsPlayerInVehicle(playerid, cartype) == 1)
{SetVehiclePos(cartype,-1980.0026,474.2643,29);
SetVehicleZAngle(cartype,180.1530);}
else
{SetPlayerPos(playerid,-1980.0026,474.2643,29);}
SendClientMessage(playerid, COLOR_YELLOW,"Type /neon in the garage to pick a neon!");} // This bracket too ?
return 1;}