13.10.2011, 18:32
Quote:
pawn Code:
|
Code:
format(string,sizeof(string),"[Adminlevel: %d || Kills: %d ]",Player[playerid][Adminlevel],Player[playerid][Kills]);
( Player[playerid][Adminlevel] = %d )
So that sign in the string will be replaced with the Adminlevel the player has.
Note:
%s = String [ex.: Player Motto]
%d // %i = Integer [ex.: Admin Level / Score]
%f = Float [ex.: Player Health]
And in his example, the dialoge is just there to make it look nicer. You can also output it to the player in form of a simple chat message (With SendClientMessage)