C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(56) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(57) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(65) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(66) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(75) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(76) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(85) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(86) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(95) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(96) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(105) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(106) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(115) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(116) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(125) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(126) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(135) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Ironboy\Desktop\Windows server\filterscripts\simpleneon.pwn(136) : error 017: undefined symbol "AttachObjectToVehicle"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
18 Errors.
#include <a_samp>
#pragma tabsize 0
#define neondialog 8131
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print("Simple Neon System by : wizzi");
print("--------------------------------------\n");
return 1;
//*********Color****************//
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_BLUE 0x1229FAFF
}
public OnFilterScriptExit()
{
return 1;
}
//**************Commands*********************//
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/takeneon", true)==0)
{
if(IsPlayerInAnyVehicle(playerid))
{
ShowPlayerDialog(playerid, neondialog, DIALOG_STYLE_LIST, "Neon Color", "Blue\nRed\nGreen\nWhite\nPink\nYellow\nSpecial[Red]\nSpecial[Green]\nSpecial[Blue]\nDellete Neon[By:wizzi]", "Select", "Cancel");
}
return 1;
}
return 0;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == neondialog)
{
if(response)
{
if(listitem == 0)
{
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"), 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 == 8)
{
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");
}
if(listitem == 9){DestroyObject(GetPVarInt(playerid, "neon")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon1")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon2")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon3"));
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon4")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon5")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon6")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon7"));
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon8")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon9")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon10")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon13"));
DeletePVar(playerid, "Status");
}
}
}
return 0;
}
public OnPlayerConnect()
{
new playerid;
SendClientMessage(playerid, COLOR_BLUE,"This server use neon system by wizzi !");
return 1;
}
//do not remove credits please...
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(111) : warning 201: redefinition of constant/macro (symbol "COLOR_BLUE")
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(832) : warning 225: unreachable code
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1181) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1183) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1185) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1194) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1203) : error 054: unmatched closing brace ("}")
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1204) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1213) : error 054: unmatched closing brace ("}")
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1214) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1223) : error 054: unmatched closing brace ("}")
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1224) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1233) : error 054: unmatched closing brace ("}")
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1234) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1243) : error 054: unmatched closing brace ("}")
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1244) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1253) : error 054: unmatched closing brace ("}")
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1254) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1263) : error 054: unmatched closing brace ("}")
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1264) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1273) : error 054: unmatched closing brace ("}")
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1274) : error 010: invalid function or declaration
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1281) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
21 Errors.
pawn Код:
|