Advertisement
julioCCs

test

Oct 11th, 2012
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.55 KB | None | 0 0
  1. Imports System
  2. Imports GTA
  3.  
  4. Public Class Tests
  5.     Inherits Script
  6.    
  7.     Public Sub New()
  8.         me.interval = 1000
  9.     End Sub
  10.    
  11.     Private Sub general_tick(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Tick
  12.         if exists(player.character.currentvehicle) then
  13.             for each v as vehicle in world.getvehicles(player.character.position, 100.0)
  14.                 if exists(v) andalso (v <> player.character.currentvehicle) andalso (v.model.hash = player.character.currentvehicle.model.hash) then v.delete
  15.             next
  16.         end if
  17.     End Sub
  18. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement