27.11.2013, 23:06
(
Последний раз редактировалось rocker3410; 28.11.2013 в 06:43.
)
-deleted-
Hi, i have tried compiling my map i made just now. and it gave me these errors.
F:\******\******\AdminHouse.pwn(1) : error 010: invalid function or declaration F:\*******\*******\AdminHouse.pwn(1) : error 010: invalid function or declaration F:\*********\******\AdminHouse.pwn(2) : error 021: symbol already defined: "CreateObject" F:\******\******\AdminHouse.pwn(2) : error 010: invalid function or declaration F:\******\******\AdminHouse.pwn(3) : error 021: symbol already defined: "CreateObject" F:\******\******\AdminHouse.pwn(3) : error 010: invalid function or declaration F:\******\******\AdminHouse.pwn(4) : error 021: symbol already defined: "CreateObject" F:\******\******\AdminHouse.pwn(4) : error 010: invalid function or declaration F:\******\******\AdminHouse.pwn(5) : error 021: symbol already defined: "CreateObject" F:\******\******\AdminHouse.pwn(5) : error 010: invalid function or declaration F:\******\******\AdminHouse.pwn(6) : error 021: symbol already defined: "CreateObject" F:\******\******\AdminHouse.pwn(6) : error 010: invalid function or declaration F:\******\******\AdminHouse.pwn(7) : error 021: symbol already defined: "CreateObject" F:\******\******\AdminHouse.pwn(7) : error 010: invalid function or declaration F:\******\******\AdminHouse.pwn( : error 021: symbol already defined: "CreateObject" F:\******\******\AdminHouse.pwn( : error 010: invalid function or declaration F:\******\******\AdminHouse.pwn(9) : error 021: symbol already defined: "CreateObject" F:\******\******\AdminHouse.pwn(9) : error 010: invalid function or declaration F:\******\******\AdminHouse.pwn(10) : error 021: symbol already defined: "CreateObject" F:\******\******\AdminHouse.pwn(10) : error 010: invalid function or declaration F:\******\******\AdminHouse.pwn(11) : error 021: symbol already defined: "CreateObject" F:\******\******\AdminHouse.pwn(11) : error 010: invalid function or declaration F:\******\******\AdminHouse.pwn(12) : error 021: symbol already defined: "CreateObject" F:\******\******\AdminHouse.pwn(12) : error 010: invalid function or declaration F:\******\******\AdminHouse.pwn(13) : error 021: symbol already defined: "CreateObject" F:\******\******\AdminHouse.pwn(13) : error 010: invalid function or declaration Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors. |
CreateObject(19313, 894.08582, -2482.57373, 20.12877, 0.00000, 0.00000, -92.00000);
CreateObject(19313, 894.61487, -2468.42065, 20.10570, 0.00000, 0.00000, -92.00000); CreateObject(19313, 895.25555, -2454.34375, 20.11998, 0.00000, 0.00000, -93.00000); CreateObject(19313, 889.70801, -2443.51831, 20.19109, 0.00000, 0.00000, -33.00000); CreateObject(19313, 888.49310, -2439.93140, 20.10830, 0.00000, 0.00000, -2.00000); CreateObject(19313, 874.41278, -2439.36670, 20.22706, 0.00000, 0.00000, -2.00000); CreateObject(694, 866.68793, -2435.61768, -0.01028, 0.00000, 0.00000, 0.00000); CreateObject(694, 840.59009, -2488.19702, 16.79946, 0.00000, 0.00000, 0.00000); CreateObject(694, 776.25610, -2427.02173, 16.35504, 0.00000, 0.00000, 0.00000); CreateObject(694, 794.07324, -2486.51855, 16.79498, 0.00000, 0.00000, 0.00000); CreateObject(2773, 816.40912, -2529.63916, 17.98950, 0.00000, 0.00000, -2.00000); CreateObject(2773, 812.64362, -2529.62231, 17.95110, 0.00000, 0.00000, -4.00000); CreateObject(3749, 816.07990, -2374.36597, 22.16861, 0.00000, 0.00000, 0.00000); CreateObject(3749, 832.04645, -2374.33716, 22.17091, 0.00000, 0.00000, 0.00000); CreateVehicle(402, 838.7364, -1966.3773, 12.5511, 0.0000, -1, -1, 100); CreateVehicle(487, 824.0149, -2541.9060, 28.3225, 0.0000, -1, -1, 100); CreateVehicle(487, 804.3017, -2539.5559, 28.1804, 0.0000, -1, -1, 100); CreateVehicle(411, 847.6765, -2520.0215, 17.5158, 0.0000, -1, -1, 100); CreateVehicle(411, 844.3113, -2520.0591, 17.3965, -2.0000, -1, -1, 100); CreateVehicle(411, 841.3022, -2519.7703, 17.5200, -2.0000, -1, -1, 100); CreateVehicle(411, 838.2456, -2519.7813, 17.4603, -2.0000, -1, -1, 100); CreateVehicle(411, 835.2632, -2519.5996, 17.4979, -2.0000, -1, -1, 100); CreateVehicle(411, 832.1865, -2519.6311, 17.4670, -2.0000, -1, -1, 100); CreateVehicle(451, 801.6288, -2519.3110, 17.3472, -2.0000, -1, -1, 100); CreateVehicle(451, 795.6145, -2519.0500, 17.4077, -4.0000, -1, -1, 100); CreateVehicle(451, 798.4775, -2519.3459, 17.3437, -4.0000, -1, -1, 100); CreateVehicle(451, 792.8178, -2518.6887, 17.4092, -4.0000, -1, -1, 100); CreateVehicle(451, 790.1116, -2518.4443, 17.3614, -4.0000, -1, -1, 100); CreateVehicle(451, 787.3798, -2518.3206, 17.3446, -4.0000, -1, -1, 100); CreateVehicle(451, 784.6655, -2518.1262, 17.3683, -6.0000, -1, -1, 100); |
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
CreateCarsAndObjects();
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main(){}
#endif
public OnGameModeInit()
{
CreateCarsAndObjects();
return 1;
}
public OnGameModeExit()
{
return 1;
}
stock CreateCarsAndObjects()
{
CreateObject(19313, 894.08582, -2482.57373, 20.12877, 0.00000, 0.00000, -92.00000);
CreateObject(19313, 894.61487, -2468.42065, 20.10570, 0.00000, 0.00000, -92.00000);
CreateObject(19313, 895.25555, -2454.34375, 20.11998, 0.00000, 0.00000, -93.00000);
CreateObject(19313, 889.70801, -2443.51831, 20.19109, 0.00000, 0.00000, -33.00000);
CreateObject(19313, 888.49310, -2439.93140, 20.10830, 0.00000, 0.00000, -2.00000);
CreateObject(19313, 874.41278, -2439.36670, 20.22706, 0.00000, 0.00000, -2.00000);
CreateObject(694, 866.68793, -2435.61768, -0.01028, 0.00000, 0.00000, 0.00000);
CreateObject(694, 840.59009, -2488.19702, 16.79946, 0.00000, 0.00000, 0.00000);
CreateObject(694, 776.25610, -2427.02173, 16.35504, 0.00000, 0.00000, 0.00000);
CreateObject(694, 794.07324, -2486.51855, 16.79498, 0.00000, 0.00000, 0.00000);
CreateObject(2773, 816.40912, -2529.63916, 17.98950, 0.00000, 0.00000, -2.00000);
CreateObject(2773, 812.64362, -2529.62231, 17.95110, 0.00000, 0.00000, -4.00000);
CreateObject(3749, 816.07990, -2374.36597, 22.16861, 0.00000, 0.00000, 0.00000);
CreateObject(3749, 832.04645, -2374.33716, 22.17091, 0.00000, 0.00000, 0.00000);
CreateVehicle(402, 838.7364, -1966.3773, 12.5511, 0.0000, -1, -1, 100);
CreateVehicle(487, 824.0149, -2541.9060, 28.3225, 0.0000, -1, -1, 100);
CreateVehicle(487, 804.3017, -2539.5559, 28.1804, 0.0000, -1, -1, 100);
CreateVehicle(411, 847.6765, -2520.0215, 17.5158, 0.0000, -1, -1, 100);
CreateVehicle(411, 844.3113, -2520.0591, 17.3965, -2.0000, -1, -1, 100);
CreateVehicle(411, 841.3022, -2519.7703, 17.5200, -2.0000, -1, -1, 100);
CreateVehicle(411, 838.2456, -2519.7813, 17.4603, -2.0000, -1, -1, 100);
CreateVehicle(411, 835.2632, -2519.5996, 17.4979, -2.0000, -1, -1, 100);
CreateVehicle(411, 832.1865, -2519.6311, 17.4670, -2.0000, -1, -1, 100);
CreateVehicle(451, 801.6288, -2519.3110, 17.3472, -2.0000, -1, -1, 100);
CreateVehicle(451, 795.6145, -2519.0500, 17.4077, -4.0000, -1, -1, 100);
CreateVehicle(451, 798.4775, -2519.3459, 17.3437, -4.0000, -1, -1, 100);
CreateVehicle(451, 792.8178, -2518.6887, 17.4092, -4.0000, -1, -1, 100);
CreateVehicle(451, 790.1116, -2518.4443, 17.3614, -4.0000, -1, -1, 100);
CreateVehicle(451, 787.3798, -2518.3206, 17.3446, -4.0000, -1, -1, 100);
CreateVehicle(451, 784.6655, -2518.1262, 17.3683, -6.0000, -1, -1, 100);
}