Raised This Month: $ Target: $400
 0% 

[Help] map info


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ujjl
Senior Member
Join Date: Jul 2009
Location: Hungary
Old 11-28-2009 , 17:44   Re: [Help] map info
Reply With Quote #1

yea that is what i wanted, thank you.
Can i ask how to access to this line word by word? there will be 4 string in one line, the first will be put into a string the other 3 will be put into a float vector.
ujjl is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-28-2009 , 18:10   Re: [Help] map info
Reply With Quote #2

PHP Code:
new Float:Vector[3]

szArg0[32], szArg1[10], szArg2[10], szArg3[10]
parse(szDataszArg0charsmax(szArg0), szArg1charsmax(szArg1), ... )

Vector[0] = str_to_float(szArg1)
Vector[1] = str_to_float(szArg2)
Vector[2] = str_to_float(szArg3
__________________
fysiks is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-28-2009 , 18:50   Re: [Help] map info
Reply With Quote #3

I don't know what you exactly want to do, but you can have a look at this plugin :

http://forums.alliedmods.net/showthread.php?p=213387
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
ujjl
Senior Member
Join Date: Jul 2009
Location: Hungary
Old 11-28-2009 , 19:03   Re: [Help] map info
Reply With Quote #4

Quote:
Originally Posted by ConnorMcLeod View Post
I don't know what you exactly want to do, but you can have a look at this plugin :

http://forums.alliedmods.net/showthread.php?p=213387
yes, i want to fix map entities, like adding or deleting some of them, so looks like i need modify that plug to be able to work with any entity class name.

So im ready with adding part, now my question is (for deleting part) how i find an entity with specific origin (not by classname), or is entity id constant on every time the server load the map?
ujjl 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 13:40.


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