29.11.2011, 11:30
Well, i'm using the OnPlayerPause Include..
Now this is the part of it
I want to add something like if he PAUSES, it will make a 3DText above his head, and it will disappear when he comes back. I made one, but it dosen't DELETE when the player comes back. Please help, thanks
Now this is the part of it
PHP код:
public OnPlayerPause(playerid)
{
new name[MAX_PLAYER_NAME], string[44];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s has Paused",name);
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
return 0;
}
public OnPlayerUnPause(playerid)
{
new name[MAX_PLAYER_NAME], string[44];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s has Returned",name);
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
return 0;
}