Raised This Month: $ Target: $400
 0% 

The type of a variable!!??


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 07-11-2014 , 20:42   Re: The type of a variable!!??
Reply With Quote #7

Quote:
Originally Posted by xbennY View Post
@fysiks
Very nice!!
Was anyone here on the forum at some tutorial (I think that is fixed) who had spoken it.
I will try your tips, thanks!

@KliPPy
What is "tagof"? How does it works?

------------
Another question:
What's the best way to reset all that enum data?
I just can tell that not much people know about it, but "tagof" operator allows you to get tag of a specific variable. So you could probably do something like this:
PHP Code:
new CustomTagcustom_variable;
new 
tagof(CustomTag): another_variable
although, I doubt that will work at run-time, since it will probably just tag another_variable at compilation time. Tags are also indexed, so they are only a number. Take a look at PAWN Language presentation on their site, there you could find more info about "tagof" operator.
klippy is offline
 



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 21:10.


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