Advertisement
Peppery

jetpack script

Jan 9th, 2012
691
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #include <a_samp>
  2. #if defined FILTERSCRIPT
  3.  
  4. public OnPlayerCommandText(playerid, cmdtext[])
  5. {
  6. if(strcmp(cmd, "/jetpack", true) == 0)
  7. {
  8. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK); SendClientMessage(playerid, 0xFF7F50AA, "Jetpack Spawned.");
  9. return 1;
  10.  
  11.  
  12. if(strcmp(cmdtext,"/rjetpack",true) == 0)
  13. {
  14. SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE); SendClientMessage(playerid, RED, "Jetpack Removed.");
  15. return 1;
  16. }
  17. return 0;
  18. }
  19. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement