SA-MP Forums Archive
[HELP] Player-Pause - 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: [HELP] Player-Pause (/showthread.php?tid=191975)



[HELP] Player-Pause - Larsey123IsMe - 21.11.2010

Whats wrong? It compile without ERROR bu it wont work

pawn Код:
#include <a_samp>
#include <paused>

#define FILTERSCRIPT

public OnPlayerPause(playerid)
{
    new name[MAX_PLAYER_NAME], string[44];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s is now paused",name);
    SendClientMessageToAll(0xFFFF00AA, string);
    return 1;
}

public OnPlayerUnPause(playerid)
{
    new name[MAX_PLAYER_NAME], string[44];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s Is no longer paused.",name);
    SendClientMessageToAll(0xFFFF00AA, string);
    return 1;
}



Re: [HELP] Player-Pause - Retardedwolf - 21.11.2010

Maybe the paused include doesn't even work?


Re: [HELP] Player-Pause - Larsey123IsMe - 21.11.2010

Quote:
Originally Posted by Retardedwolf
Посмотреть сообщение
Maybe the paused include doesn't even work?
It should work.. I downloaded this: THIS and putted the "paused.inc" and "YSI" inside "Pawno/include*"


Re: [HELP] Player-Pause - Larsey123IsMe - 21.11.2010

NeverMind... I got it to work now