View Single Post
Old 26/09/2013, 08:16 AM   #6
iZN
High-roller
 
Join Date: Jun 2010
Posts: 2,369
Reputation: 569
Default Re: How to give weapons to All with one CMD?

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 Code:
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_);
__________________
iZN is offline   Reply With Quote