14.12.2015, 11:05
S- is for the string but you need integer
see this -- https://sampwiki.blast.hk/wiki/Format
see this -- https://sampwiki.blast.hk/wiki/Format
Код:
CMD:info(playerid,params[]){ new string[532]; format(string, sizeof(string), "{66FFFF}>>>BRTDM~RP™-PInfo<<<","GRP Rank: %d\n BA Ranks: %d\n B Rank: %d \n TPK Rank: %d \n GSF Rank: %d \n GT Rank: %d \n BT Rank: %d \n BR Rank: %d \n xEF Rank: %d \n BMF Rank: %d \n RFC Rank: %d \n KOD Rank: %d \n AG Rank: %d \n COP Rank: %d \n B2K Rank: %d \n Admin Level: %d",GRPLevel,BALevel,BLevel,TPKLevel,GSFLevel,GTLevel,BTLevel,BRLevel,XEFLevel,BMFLevel,RFCLevel,KODLevel,AGLevel,COPLevel,B2KLevel,Level); ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, string, "OK", "Cancel"); return 1;