Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if string.match(ent, "cw_flash_grenade") or string.match(ent, "cw_frag_grenade") or string.match(ent, "cw_smoke_grenade") then
- if CurTime() < grenTimeNew then
- ply:Notify("You may purchase a grenade in " .. math.Round(grenTimeNew - CurTime()) .. " seconds.", BASEWARS_NOTIFICATION_ERROR)
- return false
- else
- grenTimeNew = CurTime() + 30
- return true
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement