obj
Perks
Weightman
on = 0
Weightman()
proc/Weightman()
usr.maxweight += 50
Problem description:
This is the perk.
yes I have a place where the perk lists into a tab and a variable for maxweight. it doesnt apply itself to the maxweight tho. help?
ID:139352
![]() Feb 7 2011, 10:40 am
|
|
Code:
obj Problem description: This is the perk. yes I have a place where the perk lists into a tab and a variable for maxweight. it doesnt apply itself to the maxweight tho. help? |
Also, don't put usr in procs. They aren't called by the usr in most cases, and therefore evaluate to null, which will spit a runtime error "cannot read null.maxweight".