SA-MP Forums Archive
SetPlayerWorldBounds HELP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SetPlayerWorldBounds HELP (/showthread.php?tid=279066)



SetPlayerWorldBounds HELP - luis_mendoza - 25.08.2011

How can i set setplayerworldbounds here.Because this is my prison/jail.I want that people cant escape from here with helicopters when someone come to they.Can anyone tell me how to do that?




Re: SetPlayerWorldBounds HELP - [MG]Dimi - 25.08.2011

(playerid,Float:x_max,Float:x_min,Float:y_max,Floa t:y_min)

again look here:
Код:
Pos1--------Pos2
  |          |
  |          |
Pos3--------Pos 4
^Y
|
|
+------->X //shows the directions of rising X and Y. Make sure that Pos1 is on NW, Pos2 on NE, Pos3 on SW and Pos4 on SE.
x_max = x from Pos4 or from Pos2
x_min = x from Pos3 or from Pos1
y_max = y from Pos1 or Pos2
y_min - y from Pos3 or Pos4

P.S. Ako ne razumes poslji mi PM


Re: SetPlayerWorldBounds HELP - luis_mendoza - 25.08.2011

ty i will test it and I will post a reply is it ok or not...


Re: SetPlayerWorldBounds HELP - luis_mendoza - 25.08.2011

hmmm...I dont know what really to do can you make for me one please


Re: SetPlayerWorldBounds HELP - IceCube! - 25.08.2011

Maybe Wiki can exaplain....

https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds

If that doesnt help give me the co-ords so I can create it for you


Re: SetPlayerWorldBounds HELP - luis_mendoza - 25.08.2011

I dont know where to do /save how times much I have to do that.


Re: SetPlayerWorldBounds HELP - Setkus - 25.08.2011

Try this, but i'm not sure is those cordinates is correct:
SetPlayerWorldBounds(playerid, 1843.529, 1699.021, -1492.37, -1618.69;


Re: SetPlayerWorldBounds HELP - luis_mendoza - 25.08.2011

It's good I think,that worldbound