Raised This Month: $ Target: $400
 0% 

show highest exp


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
avril-lavigne
Banned
Join Date: Apr 2009
Old 10-25-2011 , 17:50   Re: show highest exp
Reply With Quote #2

U need something like this



public client_experience()
{
new Players[32], iNum
get_players(Players, iNum)

for(new i = 0; i < iNum; ++i)
{
new id = Players[i]
if(is_user_alive(id))
{
new InfoMsg[255]
format(InfoMsg, 254, "XP: %d/%d", g_PlayerXP[id], your variable here[id])

message_begin(MSG_ONE, get_user_msgid("StatusText"), {0, 0, 0}, id)
write_byte(0)
write_string(InfoMsg)
message_end()
}


}
return PLUGIN_CONTINUE
}
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode