Raised This Month: $ Target: $400
 0% 

[Solved] questions about read_data


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Votorx
Senior Member
Join Date: Jun 2004
Old 10-18-2004 , 07:25  
Reply With Quote #3

Nice try, but that's a bit lengthy. There are many events that can be used with amxmodx. There's a few topics on here that give you many examples of events that can be used and the info they pass through, use the search engine. Anyways, like modules with amxmodx (which send over parameters), events do the same exact thing. They send over info that can be hooked through the read_data function. How to get this info is just as the description suggests.

When you are asking for string the array and length is needed (read_data(2,name,len)).

When you use the event and you know the second "parameter" is a string then the function you would use is read_data(2,String,lengthofstring). As well lets say you know its an integer then you wuold use something such as new int = read_data(2). if it's the third parameter that your looking for you would use read_data(3,...) It actually acts exactly like read_argv() only there's a certain # of parameters that can be found easily through the search enginge or sdk
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
 



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 17:22.


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