How to give weapons to All with one CMD?
#6

Let me correct you abit. %d specifier is for decimal values. %i is for integer. Use format to use specifier, it will work like this:
pawn Код:
new PlayerName[24], str_[128];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
format(str_, sizeof(str_), "%s(%i) has reseted your weapons!", PlayerName, playerid);
SendClientMessage(targetid, COLOR_RED1, str_);
Reply


Messages In This Thread
How to give weapons to All with one CMD? - by MAFIAWARS - 25.09.2013, 19:20
Re: How to give weapons to All with one CMD? - by DanishHaq - 25.09.2013, 19:28
Re: How to give weapons to All with one CMD? - by MAFIAWARS - 26.09.2013, 07:25
Re: How to give weapons to All with one CMD? - by MAFIAWARS - 26.09.2013, 08:04
Re: How to give weapons to All with one CMD? - by SAMProductions - 26.09.2013, 08:10
Re: How to give weapons to All with one CMD? - by iZN - 26.09.2013, 08:16

Forum Jump:


Users browsing this thread: 2 Guest(s)