- Feb 11, 2006
- 316
- 2
- 65
I wanna make it so when players get certain levels say like
every 5 levels they get a goldbar (Just for example)
how do i do this?
every 5 levels they get a goldbar (Just for example)
how do i do this?
jus to make it look right lol,
[@onlevelup]
#IF
checklevelex = 25
#ACT
linemsg 1 "<$USERNAME> has just reached level 25. congrats!"
GIVE Goldbar 1
BREAK
that goes in Qfunction
[@onlevelup]
#IF
checklevelex = 50
#ACT
linemsg 1 "<$USERNAME> has just reached level 50. congrats!"
GIVE Goldbar 1
BREAK
#IF
checklevelex = 60
#ACT
linemsg 1 "<$USERNAME> has just reached level 60. congrats!"
GIVE Goldbar 1
BREAK
#IF
checklevelex = 65
#ACT
linemsg 1 "<$USERNAME> has just reached level 65. congrats!"
GIVE Goldbar 1
BREAK
#IF
checklevelex = 70
#ACT
linemsg 1 "<$USERNAME> has just reached level 70. congrats!"
GIVE Goldbar 1
BREAK
#IF
checklevelex = 75
#ACT
linemsg 1 "<$USERNAME> has just reached level 75. congrats!"
GIVE Goldbar 1
BREAK
#IF
checklevelex = 80
#ACT
linemsg 1 "<$USERNAME> has just reached level 80. congrats!"
GIVE Goldbar 1
BREAK
#IF
checklevelex = 85
#ACT
linemsg 1 "<$USERNAME> has just reached level 85. congrats!"
GIVE Goldbar 1
BREAK
#IF
checklevelex = 90
#ACT
linemsg 1 "<$USERNAME> has just reached level 90. congrats!"
GIVE Goldbar 1
BREAK
#IF
checklevelex = 95
#ACT
linemsg 1 "<$USERNAME> has just reached level 95. congrats!"
GIVE Goldbar 1
BREAK
#IF
checklevelex = 100
#ACT
linemsg 1 "<$USERNAME> has just reached level 100. congrats!"
GIVE Goldbar 1
BREAK
ρяєα¢нєя;632579 said:You only need one [@onlevelup].Code:[@onlevelup] #IF checklevelex = 50 #ACT linemsg 1 "<$USERNAME> has just reached level 50. congrats!" GIVE Goldbar 1 BREAK #IF checklevelex = 60 #ACT linemsg 1 "<$USERNAME> has just reached level 60. congrats!" GIVE Goldbar 1 BREAK #IF checklevelex = 65 #ACT linemsg 1 "<$USERNAME> has just reached level 65. congrats!" GIVE Goldbar 1 BREAK #IF checklevelex = 70 #ACT linemsg 1 "<$USERNAME> has just reached level 70. congrats!" GIVE Goldbar 1 BREAK #IF checklevelex = 75 #ACT linemsg 1 "<$USERNAME> has just reached level 75. congrats!" GIVE Goldbar 1 BREAK #IF checklevelex = 80 #ACT linemsg 1 "<$USERNAME> has just reached level 80. congrats!" GIVE Goldbar 1 BREAK #IF checklevelex = 85 #ACT linemsg 1 "<$USERNAME> has just reached level 85. congrats!" GIVE Goldbar 1 BREAK #IF checklevelex = 90 #ACT linemsg 1 "<$USERNAME> has just reached level 90. congrats!" GIVE Goldbar 1 BREAK #IF checklevelex = 95 #ACT linemsg 1 "<$USERNAME> has just reached level 95. congrats!" GIVE Goldbar 1 BREAK #IF checklevelex = 100 #ACT linemsg 1 "<$USERNAME> has just reached level 100. congrats!" GIVE Goldbar 1 BREAK
p
umm playboys doesent work for me have i got any errors ?
[@LevelUp]
#IF
CHECKLEVELEX = 40
#ACT
SENDMSG 0 "<%S> has just reached level 40. Congratulations!"
GIVE GoldBar 1
#IF
CHECKLEVELEX = 50
#ACT
SENDMSG 0 "<%S> has just reached level 50. Congratulations!"
GIVE GoldBar 1
#IF
CHECKLEVELEX = 60
#ACT
SENDMSG 0 "<%S> has just reached level 60. Congratulations!"
GIVE GoldBar 1
#IF
CHECKLEVELEX = 65
#ACT
SENDMSG 0 "<%S> has just reached level 65. Congratulations!"
GIVE GoldBar 1
#IF
CHECKLEVELEX = 70
#ACT
SENDMSG 0 "<%S> has just reached level 70. Congratulations!"
GIVE GoldBar 1
#IF
CHECKLEVELEX = 75
#ACT
SENDMSG 0 "<%S> has just reached level 75. Congratulations!"
GIVE GoldBar 1
#IF
CHECKLEVELEX = 80
#ACT
SENDMSG 0 "<%S> has just reached level 80. Congratulations!"
GIVE GoldBar 1
#IF
CHECKLEVELEX = 85
#ACT
SENDMSG 0 "<%S> has just reached level 85. Congratulations!"
GIVE GoldBar 1
#IF
CHECKLEVELEX = 90
#ACT
SENDMSG 0 "<%S> has just reached level 90. Congratulations!"
GIVE GoldBar 1
#IF
CHECKLEVELEX = 95
#ACT
SENDMSG 0 "<%S> has just reached level 95. Congratulations!"
GIVE GoldBar 1
#IF
CHECKLEVELEX = 100
#ACT
SENDMSG 0 "<%S> has just reached level 100. Congratulations!"
GIVE GoldBar 1
break