Saturday, 2017-09-23, 6:05 AM
banana juice
Welcome Guest | RSS
Main | I made a script for the punch meter - Forum | Registration | Login
[ New messages · Members · Forum rules · Search · RSS ]
Page 1 of 11
Forum » TTT Discussion » Server Discussion » I made a script for the punch meter (because jahn isnt online)
I made a script for the punch meter
GreatieDate: Tuesday, 2013-02-26, 4:06 AM | Message # 1
Lieutenant
Group: Operators
Messages: 9846
Reputation: 5
Status: Offline
Code
if ply:IsUserGroup("donator") or ply:IsAdmin() or ply:IsSuperAdmin() then
     pr.punches = math.min(pr.punches + 2, pr.max)
else
    pr.punches = math.min(pr.punches + 1, pr.max)
end

Go steal it now

To change this, then here it is:

ply:IsUserGroup: Checks what rank you have to be for the extra punch meter.
pr.punches: How much does the prop punch (by addition, the higher the value, the more it adds).

Paste this code at the last line on propspec.lua, which should be on terrortown/gamemode


Owner of LtB ZombieRP, a server with lots of experimentation!
 
Forum » TTT Discussion » Server Discussion » I made a script for the punch meter (because jahn isnt online)
Page 1 of 11
Search:

Copyright LtB © 2017 Free web hostinguCoz