Raised This Month: $ Target: $400
 0% 

[HELP] with XVARS


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
avril-lavigne
Banned
Join Date: Apr 2009
Old 08-07-2011 , 04:40   [HELP] with XVARS
Reply With Quote #1

Lets say I need to create a cvar and get it from another plugins (5 or 6 plugins). I know a little about xvars

public dm_ffa = 0 in First Plugin


in second

Do I need to get ID and then > get_xvar_num from an ID ??? ?


yes I think . because I did so and it works......
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc

Last edited by avril-lavigne; 08-07-2011 at 04:49.
avril-lavigne is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-07-2011 , 04:54   Re: [HELP] with XVARS
Reply With Quote #2

Learn to search : http://www.amxmodx.org/funcwiki.php?go=func&id=290
http://forums.alliedmods.net/showthread.php?t=138880
And yes, it works (Make sure the first plugin is declared first in plugins.ini)
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 08-07-2011 at 05:01.
ConnorMcLeod is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-07-2011 , 04:56   Re: [HELP] with XVARS
Reply With Quote #3

Quote:
Originally Posted by avril-lavigne View Post
it works......
Then what did you need help with?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-07-2011 , 05:02   Re: [HELP] with XVARS
Reply With Quote #4

Quote:
Originally Posted by Exolent[jNr] View Post
Then what did you need help with?
Lol, i was sure i had read that it doesn't work
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 08-07-2011 , 06:12   Re: [HELP] with XVARS
Reply With Quote #5

nope I searched. I found that topic . just sma contains too many functions,,,,, to debug it.and I felt like I am in a trap .... there is no simple examples in sma. thats why I created this thread.
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc

Last edited by avril-lavigne; 08-07-2011 at 06:15.
avril-lavigne is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-07-2011 , 06:55   Re: [HELP] with XVARS
Reply With Quote #6

You say that it works, so what do you want to debug ?????
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 08-07-2011 , 10:36   Re: [HELP] with XVARS
Reply With Quote #7

No I mean that in xvars ATTACHED EXAMPLE plugin TOO much unneeded functions.... (http://forums.alliedmods.net/showthread.php?t=138880)
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-07-2011 , 10:46   Re: [HELP] with XVARS
Reply With Quote #8

Just read the thread, forget about the sma, look at the codes, there are simple examples.
__________________
Hunter-Digital is offline
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 03:24.


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