Thread
:
Leveling System
View Single Post
#
8
11-29-2009, 08:22 PM
fowlplay4
team canada
Join Date: Jul 2004
Location: Canada
Posts: 5,200
The code I provided will not work in a weapon script like that and was just an example of the proper usage, you need to specify the player object.
PHP Code:
function
onCreated
() {
findplayer
(
"Samposse"
).
addExperience
(
"Physical"
,
1000
);
}
__________________
Quote:
fowlplay4
View Public Profile
View GraalOnline Profile
Visit fowlplay4's homepage!
Find all posts by fowlplay4