Making 2 commands do 1 thing on 1 line... - 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: Making 2 commands do 1 thing on 1 line... (
/showthread.php?tid=112852)
Making 2 commands do 1 thing on 1 line... -
DiddyBop - 10.12.2009
Ok im not sure how to type this out.. so..
Example..
pawn Код:
if (strcmp("/commands", cmdtext, true, 10) == 0)
but i want it a little somthing like..
pawn Код:
if (strcmp("/commands","/cmds", cmdtext, true, 10) == 0)
so they could use /commands or /cmds to acess the same thing.. can som1 just help a little? yes i tried search & wiki...
Re: Making 2 commands do 1 thing on 1 line... -
Virtual1ty - 10.12.2009
pawn Код:
if (strcmp(cmdtext, "/commands", true) == 0 || strcmp(cmdtext, "/cmds", true) == 0)
Re: Making 2 commands do 1 thing on 1 line... -
DiddyBop - 10.12.2009
thx.. again
Re: Making 2 commands do 1 thing on 1 line... -
patchkinson - 10.12.2009
yep, i got here too late to help ya
Re: Making 2 commands do 1 thing on 1 line... -
Virtual1ty - 10.12.2009
Quote:
Originally Posted by patchkinson
yep, i got here too late to help ya
|
-Why bother posting then?
Quote:
Originally Posted by © HungryPinkPig ©
thx.. again
|
np..
Re: Making 2 commands do 1 thing on 1 line... -
patchkinson - 10.12.2009
Quote:
Originally Posted by Virtual1ty
Quote:
Originally Posted by patchkinson
yep, i got here too late to help ya
|
-Why bother posting then?
Quote:
Originally Posted by © HungryPinkPig ©
thx.. again
|
np..
|
Why bother askin?
Re: Making 2 commands do 1 thing on 1 line... -
DJDhan - 11.12.2009
Umm i am posting coz i had to say lol