SetPlayerWorldBounds HELP!! Please -
Ballu Miaa - 11.12.2011
Hello Everyone,
I want to add WorldBounds to my GM. The First Map will be in LS. I tried to understand this code from wiki but i got shit. This is what wiki says[Below]:
[Link]https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds
Код:
(playerid,Float:x_max,Float:x_min,Float:y_max,Float:y_min)
playerid The ID of the player to set the boundaries of.
Float:x_max The maximum X coordinate the player can go to.
Float:x_min The minimum X coordinate the player can go to.
Float:y_max The maximum Y coordinate the player can go to.
Float:y_min The minimum Y coordinate the player can go to.
Returns This function doesn't return a specific value
X_max and x_Min How to know this?? Actual Coordinates are X,Y,Z Always for everything. How can i know X_max n X_min value's of a Position??
Please someone help me
Thanks for reading
Ballu Miaa
Re: SetPlayerWorldBounds HELP!! Please -
Scenario - 11.12.2011
You would be better off using gang zones, this function is known to cause issues.
Re: SetPlayerWorldBounds HELP!! Please -
Andrɘ - 11.12.2011
Look at it like a square.
Instead of marking down 4 points, you only need to mark down 2, begging and end.
is should look something like this for X
Quote:
_____________x Max
|...............................|
|...............................|
|...............................|
|...............................|
|...............................|
|...............................|
|...............................|
|...............................|
|...............................|
x Min______________|
|
Hope i helped
Re: SetPlayerWorldBounds HELP!! Please -
THE_KNOWN - 11.12.2011
Quote:
Originally Posted by RealCop228
You would be better off using gang zones, this function is known to cause issues. 
|
true. but he would still need to know how to find the minx and miny stuff ;p
Anyways here you go i use this APPLICATION to get the code.
SA-MP tool
Re: SetPlayerWorldBounds HELP!! Please -
Scenario - 11.12.2011
Quote:
Originally Posted by THE_KNOWN
true. but he would still need to know how to find the minx and miny stuff ;p
|
Unless he used the gang zone creator FS that's around here somewhere...
Quote:
Originally Posted by THE_KNOWN
Anyways here you go i use this APPLICATION to get the code.
SA-MP tool
|
Okay, but THAT RIGHT THERE is one USEFUL tool!
Re: SetPlayerWorldBounds HELP!! Please -
THE_KNOWN - 11.12.2011
Quote:
Originally Posted by RealCop228
Okay, but THAT RIGHT THERE is one USEFUL tool! 
|
agreed! i couldnt find it on the forums anymore so i had to upload it for him :/
Re: SetPlayerWorldBounds HELP!! Please -
Andrɘ - 11.12.2011
RealCop228 is right, he might as well use gangzone creator tool, in order to get a clear view of where his boundaries are and to get coordinates for them.
Re: SetPlayerWorldBounds HELP!! Please -
Ballu Miaa - 11.12.2011
Thanks for the help everyone!! I still dont know how to find Max and Mim Coordinates lol.
But with this SAMP Took THE_KNOWN Has given ,Im able to set it properly. I never knew that this Veh Plotter also has these features as well! Awesome tool. I need help over at my one more thread.
https://sampforum.blast.hk/showthread.php?tid=302832 Will be awesome if you will help me with that as well.
Much Love
Re: SetPlayerWorldBounds HELP!! Please -
Melktert - 14.04.2017
Quote:
Originally Posted by THE_KNOWN
true. but he would still need to know how to find the minx and miny stuff ;p
Anyways here you go i use this APPLICATION to get the code.
SA-MP tool
|
Do anyone still have this tool?
Re: SetPlayerWorldBounds HELP!! Please -
AndreiWow - 14.04.2017
Can anyone reupload the tool please? Link is broken and I need it too.