Advertisement
Guest User

Simple jetpack using ZCMD filterscript

a guest
Jul 4th, 2012
866
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.70 KB | None | 0 0
  1. #define Jetpack
  2.  
  3. // This script was made by LukeStephens
  4.  
  5. #include <a_samp>
  6. #include <zcmd>
  7.  
  8. #if defined Jetpack
  9.  
  10. public OnFilterScriptInit()
  11. {
  12.     print("\n--------------------------------------");
  13.     print("Simple Jetpack by LukeStephens - LOADED");
  14.     print("--------------------------------------\n");
  15.     return 1;
  16. }
  17. CMD:jetpack(playerid, params[])
  18. {
  19.     {
  20.     if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
  21.     }
  22.     SendClientMessage(playerid, 0xFF7F50AA, "You have a jetpack now!");
  23.     SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);
  24.     return 1;
  25. }
  26. public OnFilterScriptExit()
  27. {
  28.     return 1;
  29. }
  30.  
  31. #else
  32. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement