SetPlayerWorldBounds HELP
#1

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?

Reply
#2

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

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

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

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
Reply
#6

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

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

It's good I think,that worldbound
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)