GunGame 5 Forums
GunGame
http://gungame.net/
Levelup!
http://gungame.net/viewtopic.php?f=70&t=1538
Page
1
of
1
Levelup!
Posted:
Fri Oct 08, 2010 4:15 pm
by
.:MiB:.
I was wondering since I was gonna code a function in one of my python scripts, how to make it so you can levelup someone.
~MiB
Posted:
Fri Oct 08, 2010 9:04 pm
by
XE_ManUp
Expand/Contract
|
Select All
from
gungame51.
core
.
players
.
shortcuts
import
Player
Player
(
userid
)
.
levelup
(
levelsAwarded, victim=
0
, reason=
''
)
levelsAwarded is the number of levels to award.
victim is the userid of the victim, if any.
reason is the string reason code to be used for why the player is being levelled up.
Posted:
Fri Oct 08, 2010 11:32 pm
by
.:MiB:.
Thanks just exactly what I needed!
~MiB