07.07.2011, 15:25
I Do this :
it give me this
What's wrong ??
Quote:
// 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() { if(!strcmp(cmdtext, "/enter", true, 6)) { IsPlayerInRangeOfPoint(playerid, 11, 2309.9289,-1643.6259,14.8270); { SetPlayerPos(playerid, 501.980987,-69.150199,998.757812); } print("\n--------------------------------------"); print(" Blank Filterscript by your name here"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } #endif |
Quote:
D:\NEXTEV~1\FILTER~1\TGB~1.PWN(11) : error 017: undefined symbol "cmdtext" D:\NEXTEV~1\FILTER~1\TGB~1.PWN(13) : error 017: undefined symbol "playerid" D:\NEXTEV~1\FILTER~1\TGB~1.PWN(15) : error 017: undefined symbol "playerid" D:\NEXTEV~1\FILTER~1\TGB~1.PWN(17) : warning 217: loose indentation D:\NEXTEV~1\FILTER~1\TGB~1.PWN(23) : error 029: invalid expression, assumed zero D:\NEXTEV~1\FILTER~1\TGB~1.PWN(23) : error 004: function "OnFilterScriptExit" is not implemented D:\NEXTEV~1\FILTER~1\TGB~1.PWN(3 : error 030: compound statement not closed at the end of file (started at line 11) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors. |