[Include] Matrix Useful Function's [v1.0]
#9

drakins o SendClientMessageFormated da para por com parametros infinitos...

basta pores assim:

pawn Код:
new
    gstring[256]
;
#define Message(%0,%1,%2,%3) format ( gstring , sizeof  gstring , %2 , %3 ), SendClientMessage ( %0 , %1 , gstring ) ;
Modo de uso:
pawn Код:
cmd(testm,playerid,params[])
{
    Message(playerid,0x6AA442AA,"Isto й uma mensagem teste! o teu ID й %i e o teu dinheiro й %i",playerid,GetPlayerMoney(playerid));
    #pragma unused params
    return true;
}
mas bom trabalho
Reply


Messages In This Thread
Matrix Useful Function's [v1.0] - by ipsBruno - 27.12.2010, 03:37
Re: Matrix Useful Function's [v1.0] - by DeNeR - 27.12.2010, 04:03
Re: Matrix Useful Function's [v1.0] - by [L3th4l] - 27.12.2010, 04:13
Re: Matrix Useful Function's [v1.0] - by [FeK]Knife - 27.12.2010, 04:16
Resposta ao tуpico. - by Cнєsρıяıтσ ѓгη - 27.12.2010, 10:15
Re: Resposta ao tуpico. - by TiagoPS - 27.12.2010, 10:40
Re: Matrix Useful Function's [v1.0] - by Shelby - 27.12.2010, 10:48
Re: Matrix Useful Function's [v1.0] - by faeldk - 27.12.2010, 11:28
Re: Matrix Useful Function's [v1.0] - by SlashPT - 27.12.2010, 11:50
Re: Matrix Useful Function's [v1.0] - by Trinix_PoS [Bizu] - 27.12.2010, 14:31

Forum Jump:


Users browsing this thread: 5 Guest(s)