Lil problem with dcmd
#3

I think ur wrong
why ui ? it supouse to be us because s = string in sscanf .
but I did what you told me to do so now when I do /ban 0 test
it returns me sendclient(blabla,balbal,"usage ban playerid")
if I make the reason an integet like /ban 0 13 it works ok.
I made it if(!sscanf(params,"us",id,reason)) and now its working
Reply


Messages In This Thread
Lil problem with dcmd - by bijoyekuza - 22.03.2011, 12:13
Re: Lil problem with dcmd - by Mike Garber - 22.03.2011, 12:15
Re: Lil problem with dcmd - by bijoyekuza - 22.03.2011, 12:31
Re: Lil problem with dcmd - by HyperZ - 22.03.2011, 13:07

Forum Jump:


Users browsing this thread: 1 Guest(s)