[HELP] Player-Pause
#1

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

Maybe the paused include doesn't even work?
Reply
#3

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*"
Reply
#4

NeverMind... I got it to work now
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)