getarg() a string, integer or float
#1

Hi, i'm trying to do a command of that kind :

pawn Код:
MyCommand({Float,_}:...)
but I don't know how to detect if an argument is a string, a float or an integer?
Reply
#2

I highly recommend you using y_va, makes job so much easier.
http://ysi.wikia.com/wiki/Library:YSI/y_va
Download: https://sampforum.blast.hk/showthread.php?tid=321092
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)