30.04.2010, 08:36
(
Последний раз редактировалось ViruZZzZ_ChiLLL; 25.02.2011 в 00:25.
)
Okay, so I have this code. But when I mute lets say player id 1 it still
says my name instead of player 1's name.
Problem: I can't make it say the player that is being muted, it
only says the muters name.
________
Toyota ad engine specifications
says my name instead of player 1's name.
Код:
if(dialogid == 9)
{
if (response)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(string, sizeof(string), "%s has been muted by an Admin", name);
format(message, sizeof(message), "Reason : %s", inputtext);
SendClientMessageToAll(red,string);
SendClientMessageToAll(blue,message);
format(string, sizeof(string), "You have sucessfully muted %s", name);
SendClientMessage(playerid, lightblue,string);
}
}
only says the muters name.
________
Toyota ad engine specifications


