SetPlayerWorldBounds - Usage?
#4

(1)__________
|_________|
|_________|
|_________|
|_________|
|________ |(2)

Take 1st save pos like (/save X pos)
then 2nd as in figure (/save Y pos)

AddPlayerClass(171, Pos X, Pos Y, Pos Z, Angle, 0,0,0,0,0,0);
AddPlayerClass(171, 1959.9679, -2191.6731, 13.5469, 149.4236, 0,0,0,0,0,0); // X Pos
AddPlayerClass(171, 1854.9679, -1152,13.5469, 149.4236, 0,0,0,0,0,0); // Y Pos


Then find Max_X cordinate from both save pos cordinate, which is max paste SetPlayerWorldBounds(playerid, Max_X, Min_X, Max_Y, Min_Y);

Then find Min_X cordinate from both save pos cordinate, which is min paste SetPlayerWorldBounds(playerid, Max_X, Min_X, Max_Y, Min_Y);

Then find Max_Y cordinate from both save pos cordinate, which is max paste SetPlayerWorldBounds(playerid, Max_X, Min_X, Max_Y, Min_Y);

Then find Min_Y cordinate from both save pos cordinate, which is min paste SetPlayerWorldBounds(playerid, Max_X, Min_X, Max_Y, Min_Y);

SetPlayerWorldBounds(playerid, Max_X, Min_X, Max_Y, Min_Y);
Reply


Messages In This Thread
SetPlayerWorldBounds - Usage? - by JaKe Elite - 22.01.2014, 03:51
Re: SetPlayerWorldBounds - Usage? - by JaKe Elite - 22.01.2014, 04:43
Re: SetPlayerWorldBounds - Usage? - by newbienoob - 22.01.2014, 06:20
Re: SetPlayerWorldBounds - Usage? - by VishvaJeet - 22.01.2014, 06:33
Re: SetPlayerWorldBounds - Usage? - by Threshold - 22.01.2014, 10:46

Forum Jump:


Users browsing this thread: 1 Guest(s)