TonyVk

Untitled

Jun 5th, 2016
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. Dim readValue As String
  2. Dim NewValue As String
  3. Dim Nesta As String
  4. Dim Nesta2 As String
  5. readValue = My.Computer.Registry.GetValue("HKEY_CURRENT_USER\SOFTWARE\SAMP", "gta_sa_exe", Nothing)
  6. Dim withoutParts As String = Replace(readValue, "\gta_sa.exe", "")
  7. NewValue = Replace(withoutParts, "\", "/")
  8. Nesta = "/samp.exe :7777 dokipeder"
  9. Nesta2 = NewValue & Nesta
  10. Shell(Nesta2)
Advertisement
Add Comment
Please, Sign In to add comment