SA-MP Forums Archive
Does not work for no reason? - 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: Does not work for no reason? (/showthread.php?tid=172974)



Does not work for no reason? - BP13 - 31.08.2010

pawn Код:
#include <a_samp>

public OnFilterScriptInit()
{
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

public OnPlayerConnect(playerid)
{
    SendClientMessage(playerid, 0xFF0000FF, "[ESP]El servidor se actualizarб para 0.3b pronto. Cuando lo haga no podrб participar. Usted tendrб que descargar 0.3b de www.sa-mp.com/download.php");
    SendClientMessage(playerid, 0xFF0000FF, "[ENG]The server will be updated to 0.3b soon. When it does you will not be able to join. You will need to download 0.3b from www.sa-mp.com/download.php");
    SendClientMessage(playerid, 0xFF0000FF, "[POR]O servidor serб atualizado para 0.3b em breve. Quando isso acontece vocк nгo serб capaz de participar. Vocк precisa fazer o download de http://www.sa-mp.com/download.php 0.3b");
    return 1;
}


public OnPlayerSpawn(playerid)
{
    SendClientMessage(playerid, 0xFF0000FF, "[ESP]El servidor se actualizarб para 0.3b pronto. Cuando lo haga no podrб participar. Usted tendrб que descargar 0.3b de www.sa-mp.com/download.php");
    SendClientMessage(playerid, 0xFF0000FF, "[ENG]The server will be updated to 0.3b soon. When it does you will not be able to join. You will need to download 0.3b from www.sa-mp.com/download.php");
    SendClientMessage(playerid, 0xFF0000FF, "[POR]O servidor serб atualizado para 0.3b em breve. Quando isso acontece vocк nгo serб capaz de participar. Vocк precisa fazer o download de http://www.sa-mp.com/download.php 0.3b");
    return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    SendClientMessage(playerid, 0xFF0000FF, "[ESP]El servidor se actualizarб para 0.3b pronto. Cuando lo haga no podrб participar. Usted tendrб que descargar 0.3b de www.sa-mp.com/download.php");
    SendClientMessage(playerid, 0xFF0000FF, "[ENG]The server will be updated to 0.3b soon. When it does you will not be able to join. You will need to download 0.3b from www.sa-mp.com/download.php");
    SendClientMessage(playerid, 0xFF0000FF, "[POR]O servidor serб atualizado para 0.3b em breve. Quando isso acontece vocк nгo serб capaz de participar. Vocк precisa fazer o download de http://www.sa-mp.com/download.php 0.3b");
    return 1;
}



Re: Does not work for no reason? - BP13 - 31.08.2010

Anyone?


message too fdnfdgudsgufsdhfhfdsfhsjfdfhdsfdsf


Re: Does not work for no reason? - DragonBlaster50 - 31.08.2010

It will work.


Re: Does not work for no reason? - BP13 - 31.08.2010

Quote:
Originally Posted by DragonBlaster50
Посмотреть сообщение
It will work.
I loaded it and it is not working even though it said it loaded. Hence the title "Does not work for no reason?"


Re: Does not work for no reason? - cessil - 31.08.2010

is there another filterscript loaded before it blocking it from going through this fs?


Re: Does not work for no reason? - BP13 - 31.08.2010

Quote:
Originally Posted by cessil
Посмотреть сообщение
is there another filterscript loaded before it blocking it from going through this fs?
I did not think you could block FS's...

btw this script works with say GameText but not sendclientmessage.


Re: Does not work for no reason? - cessil - 31.08.2010

do you have the #defined Filterscipt line?


Re: Does not work for no reason? - Grim_ - 01.09.2010

cessil that's not necessary.

As a previous poster mentioned some filterscripts can screw with each other for no apparent reason, try loading it first and see if that does anything. You could also trying debugging and seeing where it prints and where it doesn't.


Re: Does not work for no reason? - BP13 - 01.09.2010

I also tried adding it to my GM and it does not work?


Re: Does not work for no reason? - Grim_ - 01.09.2010

I'm assuming none of your debugging messages worked?

[This forum requires that you wait 120 seconds between posts. Please try again in 66 seconds.] - Kill me.