OnPlayerClickMap
#1

Hello i have this code, but i have a problem; when some player "click map" sends me alerts of everyone.

PHP код:
public OnPlayerClickMap(playeridFloat:fXFloat:fYFloat:fZ)
{
    foreach (
Playeri)
    if(
PlayerInfo[playerid][pAdmin] >= 1)
    {
        return 
1;
    }
    else
    {
        new 
string[128];
        new 
sendername[MAX_PLAYERS];
        
GetPlayerName(isendernamesizeof(sendername));
        
format(string256"AdmWarning:[%d][%s]Posible TP, Revisalo rapido!",isendername);
        
SendSpeedMessage(COLOR_YELLOWstring);
        
SendDebugMessage("AntiCheat");
    }
    return 
1;

And i've seen in other server that, when a player click map the point don't appears. How can i do that?
Reply


Messages In This Thread
OnPlayerClickMap - by CoR3 - 28.01.2015, 12:50
Re: OnPlayerClickMap - by M4D - 28.01.2015, 13:26
Re: OnPlayerClickMap - by Gammix - 28.01.2015, 13:37

Forum Jump:


Users browsing this thread: 1 Guest(s)