SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 15/02/2011, 09:45 PM   #1
UtkUguR
Little Clucker
 
Join Date: Mar 2010
Posts: 7
Reputation: 0
Default Problem while adding filterscript to my gamemode (echo)

When I compile my irc filterscript, it works great but when I put it on gamemode it gives some errors about include file.

Code:
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(38) : error 010: invalid function or declaration
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(38) : error 001: expected token: ";", but found "["
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(40) : error 010: invalid function or declaration
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(40) : error 001: expected token: ";", but found "["
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(43) : error 010: invalid function or declaration
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(43) : error 001: expected token: ";", but found "["
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(44) : error 010: invalid function or declaration
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(44) : error 001: expected token: ";", but found "["
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(47) : error 010: invalid function or declaration
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(47) : error 001: expected token: ";", but found "["
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(51) : error 010: invalid function or declaration
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(51) : error 001: expected token: ";", but found "["
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(52) : error 010: invalid function or declaration
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(52) : error 001: expected token: ";", but found "["
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(53) : error 010: invalid function or declaration
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(53) : error 001: expected token: ";", but found "["
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(58) : error 010: invalid function or declaration
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(58) : error 001: expected token: ";", but found "["
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(59) : error 010: invalid function or declaration
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(59) : error 001: expected token: ";", but found "["
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(69) : error 010: invalid function or declaration
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(69) : error 001: expected token: ";", but found "["
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(70) : error 010: invalid function or declaration
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(70) : error 001: expected token: ";", but found "["
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(71) : error 010: invalid function or declaration
D:\Depo\Game Files\Grand Theft Auto San Andreas\GTA San Andreas\Server\pawno\include\irc.inc(71) : error 001: expected token: ";", but found "["

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
Code:
// Natives

37 - native IRC_Connect(const server[], port, const nickname[], const realname[], const username[], bool:ssl = 37 false, localip[] = "");
38 - native IRC_Quit(botid, const message[] = "");
39 - native IRC_JoinChannel(botid, const channel[], const key[] = "");
40 - native IRC_PartChannel(botid, const channel[], const message[] = "");
41 - native IRC_ChangeNick(botid, const nick[]);
42 - native IRC_SetMode(botid, const target[], const mode[]);
43 - native IRC_Say(botid, const target[], const message[]);
44 - native IRC_Notice(botid, const target[], const message[]);
45 - native IRC_IsUserOnChannel(botid, const channel[], const user[]);
46 - native IRC_InviteUser(botid, const channel[], const user[]);
47 - native IRC_KickUser(botid, const channel[], const user[], const message[] = "");
48 - native IRC_GetUserChannelMode(botid, const channel[], const user[], dest[]);
49 - native IRC_GetChannelUserList(botid, const channel[], dest[], maxlength = sizeof dest);
50 - native IRC_SetChannelTopic(botid, const channel[], const topic[]);
51 - native IRC_RequestCTCP(botid, const user[], const message[]);
52 - native IRC_ReplyCTCP(botid, const user[], const message[]);
53 - native IRC_SendRaw(botid, const message[]);
54 - native IRC_CreateGroup();
55 - native IRC_DestroyGroup(groupid);
56 - native IRC_AddToGroup(groupid, botid);
57 - native IRC_RemoveFromGroup(groupid, botid);
58 - native IRC_GroupSay(groupid, const target[], const message[]);
59 - native IRC_GroupNotice(groupid, const target[], const message[]);
60 - native IRC_SetIntData(botid, data, value);
...
Thanks.
UtkUguR is offline  
Old 16/02/2011, 07:19 PM   #2
SmackThat
Little Clucker
 
Join Date: Sep 2010
Posts: 4
Reputation: 0
Default Re: Problem while adding filterscript to my gamemode (echo)

Any ideas?
SmackThat is offline  
Old 17/02/2011, 04:48 PM   #3
UtkUguR
Little Clucker
 
Join Date: Mar 2010
Posts: 7
Reputation: 0
Default Re: Problem while adding filterscript to my gamemode (echo)

I think it's really easy to fix these problems but I cannot find the source of problem. I will be OK if you fix one of them.
UtkUguR is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding objects in a filterscript? Help please. Kitten_Blind Help Archive 14 26/11/2010 05:24 PM
Filterscript - Gamemode Problem Sascha Help Archive 2 21/09/2010 10:34 AM
Problem using 2 database connections with a gamemode and filterscript VIRUXE Help Archive 3 19/09/2010 06:00 PM
[UNSOLVED]Filterscript problem / How to put filterscripts in gamemode? rbN. Help Archive 6 18/01/2010 10:11 AM
Adding a new filterscript make the server crash. wesszzel Server Support 3 29/01/2009 07:40 PM


All times are GMT. The time now is 04:30 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.