little question
#4

With all the resources you gave I could make this:

PHP код:
if (playerData[playerid][playerMuteTime] != 0)
{
   new 
message[128], message2[128], pName[MAX_PLAYER_NAME], tName[MAX_PLAYER_NAME];
   
GetPlayerName(playeridpNamesizeof(pName));
   
GetPlayerName(playeridtNamesizeof(tName));
   
format(messagesizeof(message), "{FFDC2E}[MUTED] {#ff69b4}You are muted for another {FFDC2E}%i{FFFFFF}seconds and cannot talk!"playerData[playerid][playerMuteTime]);
   
SendClientMessage(playeridCOLOR_WHITEmessage);
   
format(message2sizeof(message2), "%s is muted by %s for %i seconds!"tNamepNameplayerData[playerid][playerMuteTime]);
   
SendClientMessageToAll(-1message2); 
   return 
0;

Reply


Messages In This Thread
little question - by KNIGHT786 - 28.12.2016, 13:55
Re: little question - by BiosMarcel - 28.12.2016, 14:02
Re: little question - by KNIGHT786 - 28.12.2016, 18:24
Re: little question - by ChristolisTV - 28.12.2016, 18:53
Re: little question - by KNIGHT786 - 28.12.2016, 18:55

Forum Jump:


Users browsing this thread: 2 Guest(s)