Sending success message back
#3

Quote:
Originally Posted by grand.Theft.Otto
Посмотреть сообщение
Yes, the first one is almost right.

pawn Код:
// mute command

new string[128], name[24];

GetPlayerName(playerb,name,24); // getting the name of the target (playerb)

format(string,128,"You Have Successfully Frozen Player %s (%d)",name,playerb); // name, id of playerb
SendClientMessage(playerid,-1,string); // sending the above message to the admin

// unmute command

new string[128], name[24];

GetPlayerName(playerb,name,24); // getting the name of the target (playerb)

format(string,128,"You Have Successfully Unfrozen Player %s (%d)",name,playerb); // name, id of playerb
SendClientMessage(playerid,-1,string);
playerid = The default ID
playerb = target ID (in your case)
Uhh kinda confusing to add it if you ask me.

Mind doing a favor and putting it together?
Sorry for asking that if not thats fine thanks for help I will try playing around with it... I guess

EDIT: Don't mind I got it
Reply


Messages In This Thread
Sending success message back - by iNorton - 23.10.2011, 23:45
Re: Sending success message back - by grand.Theft.Otto - 23.10.2011, 23:58
Re: Sending success message back - by iNorton - 24.10.2011, 00:04
Re: Sending success message back - by grand.Theft.Otto - 24.10.2011, 00:11
Re: Sending success message back - by iNorton - 24.10.2011, 00:14

Forum Jump:


Users browsing this thread: 1 Guest(s)