Private Message System
#4

Quote:
Originally Posted by Cezar98
Посмотреть сообщение
i need /pm command now
Код:
CMD:pm(playerid, params[])
{
       if(IsPlayerAdmin(playerid)) //Check if is player admin
       {
              new id, message[150];
              if(sscanf(params, "us[150]", id, message)) return SendClientMessage(playerid, COLOR_WHITE,"Usage: /pm [PlayerID] [Message]");
              SendDialogMessage(playerid, id, message);
       }
       return 1;
}
I didn't test the code, sorry if i wrong something
Reply


Messages In This Thread
Private Message System - by Cezar98 - 24.02.2018, 11:00
Re: Private Message System - by kingmk - 24.02.2018, 11:07
Re: Private Message System - by Cezar98 - 24.02.2018, 11:20
Re: Private Message System - by kingmk - 24.02.2018, 11:23
Re: Private Message System - by Cezar98 - 24.02.2018, 11:59
Re: Private Message System - by jasperschellekens - 24.02.2018, 12:13
Re: Private Message System - by kingmk - 24.02.2018, 13:58
Re: Private Message System - by Astralis - 24.02.2018, 18:53
Re: Private Message System - by grymtn - 24.02.2018, 19:54

Forum Jump:


Users browsing this thread: 1 Guest(s)