AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   starting lvl for uwc3 (https://forums.alliedmods.net/showthread.php?t=41244)

Rolnaaba 07-11-2006 18:43

starting lvl for uwc3
 
can someone tell me how you would set the starting exp for a player when they join a UWC3 server.
I have been adding
Code:
for(new Index=0;Index<32;Index++)    {       if(playerxp[Index] < 542407)       {          playerxp[Index] += 542407;       }    }
to uwc3_events.inc under the startround event and it works, but when the map changes it doesnt save their exp (mysql version), i dont understand why this doesnt interfer with anything it just adds a check.
if Geesu or someone could help me i would be very grateful.

v3x 07-11-2006 20:17

Re: starting lvl for uwc3
 
I'm pretty sure there's a cvar in the UWC3 config for this.

Rolnaaba 07-11-2006 20:40

Re: starting lvl for uwc3
 
Quote:

Originally Posted by v3x
I'm pretty sure there's a cvar in the UWC3 config for this.

upon posting in the wc3 forums i found there is no cvar for uwc3 tho there is one for wc3FT. You need a code string to manually do it :(

Ghandi Pwnage 07-16-2006 00:30

Re: starting lvl for uwc3
 
you should make a plugin for this, its too hard to take it off or something with it actually in the sma/amxx.

Rolnaaba 08-10-2006 09:45

Re: starting lvl for uwc3
 
actually,much easier to add 1 line of code than create a whole new plugin


All times are GMT -4. The time now is 07:56.

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