Raised This Month: $51 Target: $400
 12% 

RpgX Mod


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
oBook
Member
Join Date: Apr 2013
Location: Germany
Old 06-24-2014 , 12:23   RpgX Mod
Reply With Quote #1

Hey Guys,

I have now the RPGX plugin made by roflmao456

And this is cool.

I search for long time a XP plugin and this is (GERMAN) HAMMEEEEEER

Okay i have one question... I want this:


It should be up in the middle
Level
XP
Credits


Can u help me?
__________________
oBook is offline
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 06-24-2014 , 16:53   Re: RpgX Mod
Reply With Quote #2

If you want someone else to do it - post in requests forum.
Now I will explain what's the easiest way.
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); 
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
oBook
Member
Join Date: Apr 2013
Location: Germany
Old 06-24-2014 , 18:53   Re: RpgX Mod
Reply With Quote #3

I dont underrstand??
__________________
oBook is offline
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 06-24-2014 , 19:27   Re: RpgX Mod
Reply With Quote #4

Which part exactly you don't understand?
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
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
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-25-2014 , 06:44   Re: RpgX Mod
Reply With Quote #6

Then go into request section. Here is scripting help.
HamletEagle is offline
Torge
Veteran Member
Join Date: Oct 2011
Old 06-25-2014 , 13:53   Re: RpgX Mod
Reply With Quote #7

Quote:
Originally Posted by HamletEagle View Post
Then go into request section. Here is scripting help.
Or post it in german section.

(German) poste es doch einfach hier
Torge is offline
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 06-25-2014 , 14:18   Re: RpgX Mod
Reply With Quote #8

Quote:
Originally Posted by Torge View Post
Or post it in german section.

(German) poste es doch einfach hier
The ML forums are closed. Read the stickied announcement.
__________________
Black Rose is offline
Torge
Veteran Member
Join Date: Oct 2011
Old 06-25-2014 , 17:12   Re: RpgX Mod
Reply With Quote #9

Quote:
Originally Posted by Black Rose View Post
The ML forums are closed. Read the stickied announcement.
Ups, didn't noticed that ahaha
Torge is offline
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 06-25-2014 , 17:14   Re: RpgX Mod
Reply With Quote #10

Оkay, whatever.
@oBook, are you going to try something to fix yor problem? If you are not willing to do anything, post in requests forum and let the thread be closed.
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
Old 06-26-2014, 15:57
mottzi
This message has been deleted by YamiKaitou. Reason: English Only
Old 06-26-2014, 16:36
Black Rose
This message has been deleted by YamiKaitou. Reason: reply to deleted post
Reply



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 00:51.


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