[FilterScript] Pause check
#1

:: Pause check ::
This script, we can see that the player is paused or not.

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

public OnPlayerPaused(playerid)
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    new string[128];
    format(string, 128, "%s is paused!", name);
    SendClientMessageToAll(0xFFFFFFFF, string);
    return 1;
}
public OnPlayerUnpaused(playerid)
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    new string[128];
    format(string, 128, "%s is unpaused!", name);
    SendClientMessageToAll(0xFFFFFFFF, string);
    return 1;
}
INC: http://solidfiles.com/d/6f01e/

Tanks to:
Goldkiller - spawn function
AndreT - Idea
Reply


Messages In This Thread
Pause check - by GameStar. - 18.08.2011, 22:30
Re: Pause check - by AndreT - 18.08.2011, 22:38
Re: Pause check - by GameStar. - 18.08.2011, 23:05
Re: Pause check - by Davz*|*Criss - 18.08.2011, 23:38
Re: Pause check - by AndreT - 19.08.2011, 09:01
Re: Pause check - by System64 - 19.08.2011, 09:22
Respuesta: Pause check - by predator_ - 23.08.2011, 22:30
Re: Pause check - by Gh0sT_ - 23.08.2011, 23:53
Re: Pause check - by Ivan_Pantovic - 24.08.2011, 00:08
Re: Pause check - by ••• ĤБĶБM ••• - 24.08.2011, 01:05

Forum Jump:


Users browsing this thread: 2 Guest(s)