[Help] Using isnull
#1

I tried to use isnull function instead of using strlen, and the thing is that if I enter 2 spaces instead of 1 space, it gives me a message, like "usage" message.
Say I got the command /givegun [Player ID] [Gun ID] [Ammo], if I enter 2 spaces or more between /givegun and playerid or 2 spaces between playerid and gun id and etc', it gives me "usage" message,
Why does it keep happening? I thought that the point of using isnull is avoid from this to happened..

Any ideas?
Reply
#2

Simply use !strlen(string[])
Reply
#3

Quote:
Originally Posted by RyDeR`
Посмотреть сообщение
Simply use !strlen(string[])
I tried that, and I still got that problem.
And ******, how do use scanf in that kind of code?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)