Raised This Month: $ Target: $400
 0% 

Random select places.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Screeaam..
Senior Member
Join Date: Jun 2010
Location: Poland
Old 04-22-2011 , 08:50   Random select places.
Reply With Quote #1

Hi! I'm looking for a function that will draw a random location on the map and get coords of them... Can someone help me how to write this?
Screeaam.. is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-22-2011 , 09:27   Re: Random select places.
Reply With Quote #2

There is a tutorial about that in the Tutorials section. Please search.
__________________
Arkshine is offline
Screeaam..
Senior Member
Join Date: Jun 2010
Location: Poland
Old 04-22-2011 , 09:56   Re: Random select places.
Reply With Quote #3

Is that superspawns or something like this?
Screeaam.. is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-22-2011 , 10:31   Re: Random select places.
Reply With Quote #4

Yes. There is also another about finding random places, by hawk552 if I remember.
__________________
Arkshine is offline
Screeaam..
Senior Member
Join Date: Jun 2010
Location: Poland
Old 04-22-2011 , 11:03   Re: Random select places.
Reply With Quote #5

I think it is this: http://forums.alliedmods.net/showthread.php?t=49829

But with this method I can spawn ent only if I know the origin (like player origin) and I need an randomly spawn, I haven't origin..
Screeaam.. is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-22-2011 , 11:05   Re: Random select places.
Reply With Quote #6

http://forums.alliedmods.net/showthread.php?t=132500
__________________
Arkshine is offline
Screeaam..
Senior Member
Join Date: Jun 2010
Location: Poland
Old 04-22-2011 , 14:27   Re: Random select places.
Reply With Quote #7

Thank you, but if you will use a certain number of locations, and there are models it says "No more location". When starting a new round of resets all items in the NPC, whether it is also possible to avoid those location that tracked from 0?
Screeaam.. is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode