YUP.inc problem
#1

I tried to use it that include:
PHP код:
public OnPlayerPause(playerid)
{
if(!
YUP_IsPlayerPaused(playerid)) {
new 
string[128];
format(stringsizeof(string),".AFK рлрс моцб %s дщзчп **",GetName(playerid));
SendClientMessageToAll(COLOR_ORANGEstring);
AFK[playerid] = 1;
TogglePlayerControllable(playerid,0);
}
return 
0;
}
//------------------------------------------------------------------------------
public OnPlayerUnpause(playerid)
{
if(
YUP_IsPlayerPaused(playerid)) {
new 
string[128];
format(stringsizeof(string),".AFK йца ооцб %s дщзчп ***",GetName(playerid));
SendClientMessageToAll(COLOR_GREENstring);
TogglePlayerControllable(playerid,1);
AFK[playerid] = 0;
}
return 
0;
}
//------------------------------------------------------------------------------ 
The problem is that it does not show my..
Reply


Messages In This Thread
YUP.inc problem - by motherfucker - 19.06.2011, 18:03
Re: YUP.inc problem - by motherfucker - 20.06.2011, 19:32
Re: YUP.inc problem - by IstuntmanI - 21.06.2011, 14:34
Re: YUP.inc problem - by MrDeath537 - 21.06.2011, 14:37
Re: YUP.inc problem - by motherfucker - 21.06.2011, 15:59

Forum Jump:


Users browsing this thread: 2 Guest(s)