SA-MP Forums Archive
help in commands - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help in commands (/showthread.php?tid=160591)



help in commands - OmarEco - 17.07.2010

i need to make many shorts for one command like repair command
/repair
short : /r
short 2 /fix how


Re: help in commands - KennethRandall - 17.07.2010

https://sampwiki.blast.hk/wiki/RepairVehicle
https://sampwiki.blast.hk/wiki/SetVehicleHealth


Re: help in commands - Grim_ - 17.07.2010

If you already have the command script, just use like such:
pawn Код:
if(!strcmp(cmdtext, "/repair") || !strcmp(cmdtext, "/r") || !strcmp(cmdtext, "/fix"))



Re: help in commands - OmarEco - 17.07.2010

like short link but command


Re: help in commands - Grim_ - 17.07.2010

Can you be more clear? What is a "short link"?


Re: help in commands - OmarEco - 17.07.2010

don't care with like short link but command