show highest exp
i want a plugin shows highest exp at the corner
xp = PlayerXP[id] |
Re: show highest exp
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 } |
Re: show highest exp
it wont work please help :S
|
Re: show highest exp
If you want to show the highest EXP on server, use something like this:
Code:
Then use hudmsg or call StatusText message. |
Re: show highest exp
Thanks Backstabnoob
|
| All times are GMT -4. The time now is 14:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.