OnPlayerConnect Message on a FilterScript
#1

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
Reply
#2

try puting it in the gamemode
Reply
#3

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.
Reply
#4

No-one can help me with this?
Reply
#5

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
Reply
#6

I recommend you to add those messages under your gamemode OnPlayerConnect. Then it should work.
Reply
#7

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...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)