SetPlayerWorldBounds
#1

Hello,

Can anyone explain me the World Bopunds. I dont get it from the Tutorial. Maybe with picture. thx.

Reply
#2

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.
Reply
#3

Is it possilbe for you to make a World bound of the palamio creek death place? pls
Reply
#4

Yes it is possible for you to make World Boundaries for the "palamio creek death place". He gave you a perfectly good tutorial, which he obviously put quite a bit of time/effort/both into. Show some initiative and do it yourself.
Reply
#5

Yes i tried it. But the Boundries are WRONG
Reply
#6

I GET IT THANKS MAN; YOU ARE THE BEST I LOVE YOU
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)