29.08.2010, 08:23
Quote:
Yes, but indent it.
pawn Код:
|
Код:
// This is a comment // uncomment the line below if you want to write a filterscript #define FILTERSCRIPT #include <a_samp> public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Maps"); print("--------------------------------------\n"); return 1; } //tower CreateObject(2896, 2100.4233398438, 1274.2763671875, 10.809901237488, 0, 0, 266); CreateObject(2896, 2090.2897949219, 1274.2396240234, 10.809901237488, 0, 0, 269.99548339844); CreateObject(1225, 2100.923828125, 1279.5895996094, 15.70263004303, 0, 0, 0); CreateObject(1225, 2091.7805175781, 1279.6281738281, 15.70263004303, 0, 0, 0); CreateObject(1225, 2096.0661621094, 1279.6110839844, 15.70263004303, 0, 0, 0); CreateObject(1225, 2096.568359375, 1291.2701416016, 15.70263004303, 0, 0, 0); CreateObject(1225, 2100.8557128906, 1291.2264404297, 15.70263004303, 0, 0, 0); CreateObject(1225, 2091.2292480469, 1291.2497558594, 15.70263004303, 0, 0, 0); CreateObject(2780, 2096.2763671875, 1281.9228515625, 24.513202667236, 0, 0, 0); CreateObject(3461, 2092.8188476563, 1277.1627197266, 11.387852668762, 0, 0, 0); CreateObject(3461, 2092.818359375, 1277.162109375, 11.387852668762, 0, 0, 0); CreateObject(3461, 2099.5844726563, 1276.1407470703, 11.395323753357, 0, 0, 0); CreateObject(3461, 2092.8283691406, 1293.9196777344, 11.395323753357, 0, 0, 0); CreateObject(3461, 2099.6123046875, 1293.4189453125, 11.395323753357, 0, 0, 0); CreateObject(1634, 2067.8515625, 797.86328125, 11.117630004883, 0, 0, 180); } public OnFilterScriptExit() { return 1; }
Код:
C:\Users\azd\Desktop\samp03bsvr_R2_win32\filterscripts\maps.pwn(15) : error 021: symbol already defined: "CreateObject" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.