how to make multiple commands work same?
#1

hey i wanted to have parachute with 2 commands like /para and /parachute but i don't know the top part.. what i need to add
pawn Код:
if (strcmp("/para", cmdtext, true, 10) == 0){
        GivePlayerWeapon(playerid, 46, 1);
        return 1;
    }
any help plz?
Reply
#2

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

^^Like he said
Reply
#4

Quote:
Originally Posted by varthshenon
Посмотреть сообщение
pawn Код:
if (strcmp("/para", cmdtext, true, 10) == 0 || strcmp("/parachute", cmdtext, true, 10) == 0)
thx
"This forum requires that you wait 120 seconds between posts. Please try again in 16 seconds."
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)