Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- timer1 = Timer()
- function SpawnTank(args)
- if string.sub(args, 1, 6) == "/drop " then
- Vehicle.Create(18, ((args.player:GetPosition().z) + 1000), Angle(0, 0, 0))
- if timer1:GetMilliseconds() < 2000
- Vehicle:SetLinearVelocity(0, 0, 10)
- timer1:Restart()
- end
- return false
- end
- return true
- end
- Events:Subscribe("SpawnTank", PlayerChat)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement