Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Fuzzy168 on June 13, 2011, 05:09:54 am

Title: Script help
Post by: Fuzzy168 on June 13, 2011, 05:09:54 am
What is the used of [pawn]%s[/pawn] and [pawn]%d[/pawn]? for example: [pawn]format(szMsg,sizeof(szMsg),"Nick:[ %s ] Level:[ %d ] Status:[ %s ]",gPlayers[playerid],level,StatusTag(level));[/pawn]
Title: Re: Script help
Post by: stormeus on June 13, 2011, 01:36:39 pm
Quote from: http://famp.ru/wiki/Format
Placeholder    Meaning
 %b    Inserts a number at this position in binary radix
 %c    Inserts a single character.
 %d    Inserts an integer (whole) number
 %f    Inserts a floating point number.
 %i    Inserts an integer.
 %s    Inserts a string.
 %x    Inserts a number in hexadecimal notation.
 %    Inserts the literal '%'