SA-MP Forums Archive
1error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 1error (/showthread.php?tid=368973)



1error - JEkvall95 - 15.08.2012

Код:
C:\Users\Julius\Documents\Grand Theft Auto Servers\San Andreas\samp03e_svr_win32.zip\filterscripts\ircfs.pwn(34) : error 013: no entry point (no public functions)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.



Re: 1error - [EnErGyS]KING - 15.08.2012

Show the line ?


Re: 1error - JEkvall95 - 15.08.2012

Quote:
Originally Posted by [EnErGyS]KING
Посмотреть сообщение
Show the line ?
lol it is no line. u even see what error I got


Re: 1error - JEkvall95 - 15.08.2012

someone


Re: 1error - Dare Devil..... - 15.08.2012

Show us your line 34 in your script.


Re: 1error - [EnErGyS]KING - 15.08.2012

OMG....
You not added no public funcion show your script in [ pawn ] [ /pawn ]


Re: 1error - JEkvall95 - 15.08.2012

pawn Код:
// Setup settings here

#define IRC_SERVER "irc.foco.co" // IRC Server (e.g irc.gtanet.com)
#define IRC_PORT 6667 // Set the IRC port (default 6667)

// Uncomment line 39 if you want to use 2 bots, uncomment line 40 if you want to use 3 bots
#define IRC_AMOUNT1 true
//#define IRC_AMOUNT2 true
//#define IRC_AMOUNT3 true

// Put the names of your irc bot's here (Note: not every bot can have the same name)
#define IRC_ECHO_BOT1 "jhjhBot"
#define IRC_ECHO_BOT2 "hhBot"
#define IRC_ECHO_BOT3 "hiiiBot"

// #channel is the channel you want to echo in game chat in, change it.
#define IRC_ECHO_CHAN "#Julius95"

// If your bot names are registered put a password here to identify them with
#define IRC_PASSWORD "password"

// Set the IRC join delay (1000 = 1 second), set to 0 if you dont want to use it
// (IF bot has a vHost then set this to 5000 ELSE it wont show the vHost on channel join)
#define IRC_JOIN_DELAY 0

// PRETTY SELF EXPLANARY

#define IRC_QUIT_MSG "Your Custom Quit Message Here :)"
#define IRC_AUTH_MSG "Your custom your not authorized message here :)"
#define IRC_INTI_MSG1 "Your custom initialize message here :)"
#define IRC_INTI_MSG2 "Your custom initialize message here :)"
#define IRC_INTI_MSG3 "Your custom initialize message here :)"



Re: 1error - [EnErGyS]KING - 15.08.2012

pawn Код:
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

#endif
Put in your filescript


Re: 1error - JEkvall95 - 15.08.2012

i dont get it. could u please show how i should look like as whole?


Re: 1error - [MM]RoXoR[FS] - 15.08.2012

Save it as includename.inc file and put it in pawn/include fiolder.
In your GameMode/Script add
Код:
#include <includename.inc>
Change includename to any name of your choice