Making 2 commands do 1 thing on 1 line...
#1

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...
Reply
#2

pawn Код:
if (strcmp(cmdtext, "/commands", true) == 0 || strcmp(cmdtext, "/cmds", true) == 0)
Reply
#3

thx.. again
Reply
#4

yep, i got here too late to help ya
Reply
#5

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..
Reply
#6

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?
Reply
#7

Umm i am posting coz i had to say lol
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)