02.02.2014, 08:31
Checking job functions IsPlayerPaused. Example code:
The problem is that often when the player is actually not in the pause, the message says that it is paused.
pawn Код:
CMD:pm(playerid, params[])
{
// skip the extra code
new toPlayer;
if( IsPlayerPaused( toPlayer ) ) return SendClientMessage( playerid, -1, "Player in pause" );
}