22.03.2011, 09:58
I'm making a bank system for my server, which is pretty easy, but I'm unsure how to do this certain thing.
What I'm trying to do is, say if someone types, "/bank all", instead of "/bank 1000", it will bank all the money they have on them.
I tried something like this:
but that didn't work...
I'm using dcmd and sscanf by the way.
Thanks
What I'm trying to do is, say if someone types, "/bank all", instead of "/bank 1000", it will bank all the money they have on them.
I tried something like this:
pawn Код:
if(params == "all")
I'm using dcmd and sscanf by the way.
Thanks