Message Help
#1

I added something to my Vortex Roleplay script, and onplayertext, I did the following:

PHP код:
if(Player[playerid][PMingID] >= 0)
    {
        
format(stringsizeof(string), "[PM] to %s: %s"GetName(Player[playerid][PMingID]), text);
        
SendClientMessage(playeridPLAYERCOMstring);
        
format(stringsizeof(string), "PM from %s (ID: %d): %s"GetName(playerid), playeridtext);
        
SendClientMessage(Player[playerid][PMingID], YELLOWstring);
    }
    if(! 
strcmp(text"##"true))
    {
        if(
Player[playerid][PMingID] >= 0)
        {
            
format(stringsizeof(string), "You have stopped PMing %s"GetName(Player[playerid][PMingID]));
            
SendClientMessage(playeridWHITEstring);
            
Player[playerid][PMingID] = -1;
        }
        else
        {
            
SendClientMessage(playeridWHITE"You are not PMing anybody!");
        }
    } 
But it still does a nearbymessage. Is there a way so it doesnt? Cause I cant seem to find out how.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)