Advertisement
TonyVk

Untitled

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