Few dcmds doing same thing
#1

Hi, I want to create commands in 2 languages.
I don't want to copy code.

Example: I want to have /pay and /givecash doing SAME thing.
Using normal CMDs thats no problem, just use
pawn Код:
if(strcmp(cmd, "/pay", true) == 0 || strcmp(cmd, "/givecash", true) == 0)
but how to do it in dcmd without copying code?
Reply


Messages In This Thread
Few dcmds doing same thing - by kacperoo - 11.06.2009, 21:18
Re: Few dcmds doing same thing - by miokie - 11.06.2009, 21:25

Forum Jump:


Users browsing this thread: 1 Guest(s)