2 commands one function
#1

I cant remember for life of me how to do it. i know its like ||
pawn Код:
if(!strcmp("/moneybag", cmdtext, true)) || (!strcmp("/mb", cmdtext, true))
errors with that but thats what i mean. :/
Reply
#2

tried this?
Код:
if(!strcmp("/moneybag", cmdtext, true) || !strcmp("/mb", cmdtext, true))
{
}
Reply
#3

simple as that lol i feel embarrassed i couldnt remember
Reply
#4

I started scripting again and forgot most of the things too, but now i'm getting it al back.
Nice to help you .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)