Cain
Silver Member
- Joined
- May 12, 2013
- Messages
- 1,224
Cheesy said:Cain said:I'm having a bit trouble running samp.exe, I'm getting an error "Windows cannot find 'samp.exe'. Make sure you typed the name correctly, and then try again." The AHK script runs without any issues though. Could it be because of the location of the samp file? My San Andreas directory is F:\Program Files (x86)\Rockstar Games\GTA San Andreas\
Try this instead, I just checked and I actually do it in a different way in my own bat. (sry) I think it's passing the ip that screws it up, but this should work:
Of course change the script and program directory as you need.Code:@echo off start "" "C:\Program Files (x86)\Rockstar Games\GTA San Andreas\samp.exe" "188.165.139.152:7777" start "" "C:\Users\*Name*\Documents\SAMP\AHK\script.ahk" exit
Hey mate, for some odd reason 80% of the time it starts the ahk script, but it closes it back down automatically while the game starts. You have any idea how to fix this issue?