OnPlayerConnect Message on a FilterScript - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: OnPlayerConnect Message on a FilterScript (
/showthread.php?tid=97173)
OnPlayerConnect Message on a FilterScript -
Nick_name - 13.09.2009
Im having this bug on a FS...
Код:
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid, colour, "To report a bug, type /bug");
SendClientMessage(playerid, colour, "To report a suggestion, type /suggest");
}
Now the problem is... When I load this as a FS, and a player connects...
The player doesnt receive the messages indicated above....
what should I do?
Thanks
Re: OnPlayerConnect Message on a FilterScript -
mr.b - 13.09.2009
try puting it in the gamemode
Re: OnPlayerConnect Message on a FilterScript -
Nick_name - 13.09.2009
Quote:
Originally Posted by mr.b
try puting it in the gamemode
|
But I want it to stay only on the FS...

So I can load it and unload it.
Re: OnPlayerConnect Message on a FilterScript -
Nick_name - 13.09.2009
No-one can help me with this?
Re: OnPlayerConnect Message on a FilterScript -
boelie - 13.09.2009
Well..
Look at your gamemode at onplayerconnect...dit you put anything there ?
if yes then you should put under return 1; a return 0
this actually means you telling the script that there are more commands coming..and that would be your
Filterscript.
try the return 1; in both gamemode and FS
Re: OnPlayerConnect Message on a FilterScript -
Jakku - 13.09.2009
I recommend you to add those messages under your gamemode OnPlayerConnect. Then it should work.
Re: OnPlayerConnect Message on a FilterScript -
Nick_name - 13.09.2009
Quote:
Originally Posted by boelie
Well..
Look at your gamemode at onplayerconnect...dit you put anything there ?
if yes then you should put under return 1; a return 0
this actually means you telling the script that there are more commands coming..and that would be your
Filterscript.
try the return 1; in both gamemode and FS
|
I tried every combinations of returns in my GM and in my FS but it still doesn work...