Raised This Month: $ Target: $400
 0% 

RpgX Mod


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
oBook
Member
Join Date: Apr 2013
Location: Germany
Old 06-25-2014 , 06:16   Re: RpgX Mod
Reply With Quote #5

umm
Quote:
First, you make a new task in plugin_init, with flag "b" and 1.0 time.
In the task function, loop trough all alive players.
Get their index.
Then set the HUD message.
And then you can use these natives to get their XP, Level and Credits in the HUD:
PHP Code:
register_native("RPGx_GetXP", "Native_GetXP", 1);
register_native("RPGx_GetLevel", "Native_GetLevel", 1);
register_native("RPGx_GetCredits", "Native_GetCredits", 1);

Sorry i can this say only in german :/

(German): Ich bin neu hier und habe keine ahnung von sowas habe sowas noch nie gemacht :/
(English Worng?) : Iam new here i cant Scripting and its a little bit too hard for me
__________________
oBook 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 21:16.


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