Raised This Month: $ Target: $400
 0% 

Detect variable type


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 08-01-2008 , 03:34   Re: Detect variable type
Reply With Quote #4

Not sure if this works,but i've seen it in Pawn docs:
Code:
public plugin_init()
{
    new Float:myvar
    if(tagof myvar == tagof Float)
        server_print("is float")
    else
        server_print("not float")
}
danielkza 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 05:33.


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