07.04.2010, 07:38
This is my first job!
I created a simple bash script to simplify running SAMP in Linux.
In order to use it, you need to change the variables in its sole discretion!
Next, copy it to the directory /usr/bin, and run the commands:
$ samp
Rate the script with the permissions 777 can be downloaded here to see prices: http://rapidshare.com/files/372963722/samp.html
ps sorry for my English, I used a translator
I created a simple bash script to simplify running SAMP in Linux.
In order to use it, you need to change the variables in its sole discretion!
Next, copy it to the directory /usr/bin, and run the commands:
$ samp
Code:
#!/bin/bash ############################# ###Made by ExIM aka Kirill### ########ICQ: 9815041######### ############################# NICK=[root]ExIM #Nick SRV_PASS= #Password (if required) GAME_LOCATION="/windows/Games/GTA San Andreas/" #Folder with the game IP_SRV="82.200.209.235" #IP Address Server PORT_SRV="7777" #Port Server if cd "$GAME_LOCATION" 2>/dev/null; then echo "Go to the directory made." echo 'We try to go ... If you hang up, Click Ctrl + C and try again...' wine gta_sa.exe -c -h $IP_SRV -p $PORT_SRV -z $SRV_PASS -n $NICK else echo "Error! Most likely you do not specify the correct directory with the game!" fi exit 0
ps sorry for my English, I used a translator