SA-MP Forums Archive
/jetpack - 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: /jetpack (/showthread.php?tid=186613)



/jetpack - Garc1a - 30.10.2010

can someone make a simple command that gives you a jetpack?


Re: /jetpack - Mr.Jvxmc - 30.10.2010

Код:
}
   if(strcmp(cmd, "/jetpack", true) == 0) {
   SendClientMessage(playerid, 0xFF7F50AA, "You have jetpack now!");
   SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);
   return 1;
   }
please


Re: /jetpack - Steven82 - 30.10.2010

Ok here you go......*sigh*


pawn Код:
if(strcmp("/jetpack",cmdtext,true, 8) == 0)
{
  SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);
  SendClientMessage(playerid,COLOR,"Your now using a jetpack");
  return 1;
}

If that doesn't work or it's buggy tell me. My GTA:SA is f'ed up and i am reinstalling it so i can't test the code right now.


EDIT***
I was beaten to posting i am typing slow :O