Giving me errors
#1

I Do this :


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

it give me this

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.

What's wrong ??
Reply


Messages In This Thread
Giving me errors - by Mr.Black - 07.07.2011, 15:25
Re: Giving me errors - by Shadoww5 - 07.07.2011, 15:31
Re: Giving me errors - by Mr.Black - 07.07.2011, 15:35
Re: Giving me errors - by Jay. - 07.07.2011, 15:43
Re: Giving me errors - by bob_dillan - 07.07.2011, 15:46
Re: Giving me errors - by alpha500delta - 07.07.2011, 16:18

Forum Jump:


Users browsing this thread: 1 Guest(s)