how to make multiple commands work same? - 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)
+--- Thread: how to make multiple commands work same? (
/showthread.php?tid=280847)
how to make multiple commands work same? -
[WSF]ThA_Devil - 03.09.2011
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?
Re: how to make multiple commands work same? -
=WoR=Varth - 03.09.2011
pawn Код:
if (strcmp("/para", cmdtext, true, 10) == 0 || strcmp("/parachute", cmdtext, true, 10) == 0)
Re: how to make multiple commands work same? - array13 - 03.09.2011
^^Like he said
Re: how to make multiple commands work same? -
[WSF]ThA_Devil - 03.09.2011
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."