24.04.2009, 21:53
SetPlayerWorldBounds (playerid,x_max,x_min,y_max,y_min);
to get x_max, x_min, y_max, and y_min you have to do the following:
1. got to the place where you want the world bounds to be.
2. imagine this is the place:
____________
| |
| |
| |
| |
| |
|__________|
3. now in order to get the cordinates you have to do /save in the following places:
/save_______
| |
| |
| |
| |
| |
|__________/save
now that you did that, go to your San Andreas directory and search for a file called "mysavedpositions.txt"
enter it, there should be lines like this:
AddPlayerClass(..........);
AddPlayerClass(..........);
or if you were in a vehicle:
AddStaticVehicle(..........);
AddStaticVehicle(..........);
now, in order to get the cordinates, you need to take:
AddPlayerClass(classid,x,y,z,a,.......);
AddPlayerClass(classid,x,y,z,a,.......);
if you didn't understand, I'll show you an example:
AddPlayerClass(82,2031.9292,1282.9242,10.8203,308. 8118,0,0,0,0,0,0); //
AddPlayerClass(82,1881.7473,1402.1289,9.2501,59.79 56,0,0,0,0,0,0); //
The Max_X is 2031.9292
The Max_Y is 1402.1289
The Min_X is 1881.7473
The Min_Y is 1282.9242
Hope that helps you.
good luck.
to get x_max, x_min, y_max, and y_min you have to do the following:
1. got to the place where you want the world bounds to be.
2. imagine this is the place:
____________
| |
| |
| |
| |
| |
|__________|
3. now in order to get the cordinates you have to do /save in the following places:
/save_______
| |
| |
| |
| |
| |
|__________/save
now that you did that, go to your San Andreas directory and search for a file called "mysavedpositions.txt"
enter it, there should be lines like this:
AddPlayerClass(..........);
AddPlayerClass(..........);
or if you were in a vehicle:
AddStaticVehicle(..........);
AddStaticVehicle(..........);
now, in order to get the cordinates, you need to take:
AddPlayerClass(classid,x,y,z,a,.......);
AddPlayerClass(classid,x,y,z,a,.......);
if you didn't understand, I'll show you an example:
AddPlayerClass(82,2031.9292,1282.9242,10.8203,308. 8118,0,0,0,0,0,0); //
AddPlayerClass(82,1881.7473,1402.1289,9.2501,59.79 56,0,0,0,0,0,0); //
The Max_X is 2031.9292
The Max_Y is 1402.1289
The Min_X is 1881.7473
The Min_Y is 1282.9242
Hope that helps you.
good luck.

