AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   RpgX Mod (https://forums.alliedmods.net/showthread.php?t=242772)

oBook 06-24-2014 12:23

RpgX Mod
 
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 :D

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


It should be up in the middle
Level
XP
Credits


Can u help me?

Flick3rR 06-24-2014 16:53

Re: RpgX Mod
 
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); 


oBook 06-24-2014 18:53

Re: RpgX Mod
 
I dont underrstand??

Flick3rR 06-24-2014 19:27

Re: RpgX Mod
 
Which part exactly you don't understand?

oBook 06-25-2014 06:16

Re: RpgX Mod
 
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 :(

HamletEagle 06-25-2014 06:44

Re: RpgX Mod
 
Then go into request section. Here is scripting help.

Torge 06-25-2014 13:53

Re: RpgX Mod
 
Quote:

Originally Posted by HamletEagle (Post 2157053)
Then go into request section. Here is scripting help.

Or post it in german section.

(German) poste es doch einfach hier :)

Black Rose 06-25-2014 14:18

Re: RpgX Mod
 
Quote:

Originally Posted by Torge (Post 2157242)
Or post it in german section.

(German) poste es doch einfach hier :)

The ML forums are closed. Read the stickied announcement.

Torge 06-25-2014 17:12

Re: RpgX Mod
 
Quote:

Originally Posted by Black Rose (Post 2157252)
The ML forums are closed. Read the stickied announcement.

Ups, didn't noticed that ahaha :)

Flick3rR 06-25-2014 17:14

Re: RpgX Mod
 
О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.


All times are GMT -4. The time now is 21:16.

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