DCMD Question. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: DCMD Question. (
/showthread.php?tid=328327)
DCMD Question. -
The__ - 24.03.2012
How can I make from :
dcmd_takeoutmoney to dcmd_tom ?
Re: DCMD Question. -
kelvin22 - 24.03.2012
Well that basic, just search for dcmd_takeoutmoney (use ctrl + f) then rename it to dcmd_tom.
Note: Dont forget to rename it from OnPlayerCommandText;
Re: DCMD Question. - suhrab_mujeeb - 24.03.2012
And don't forget to edit the lenght too.
Re: DCMD Question. -
The__ - 24.03.2012
I ment, I have the takeoutmoney, I just want to make the /tom be a shortcut of /takemoneyout
Re: DCMD Question. -
doreto - 24.03.2012
Do like Kelvin say and you are done
Quote:
Well that basic, just search for dcmd_takeoutmoney (use ctrl + f) then rename it to dcmd_tom.
Note: Dont forget to rename it from OnPlayerCommandText;
|
Re: DCMD Question. -
kelvin22 - 25.03.2012
Ok then do something like this:
pawn Код:
dcmd_tom(playerid, params[]) //the command wich will call the long command
{
dcmd_takemoneyout (playerid, params); //the command wich you want to call with short command
return 1;
}
Note: Next time search