Advertisement
Guest User

fly.inc demo FS

a guest
Jan 7th, 2012
3,060
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.55 KB | None | 0 0
  1. #include <a_samp>
  2. #include <fly>
  3.  
  4. public OnFilterScriptInit()
  5. {
  6.     print("=========================================\n");
  7.     print("Fly include demo FS by Norck");
  8.     print(" ");
  9.     print("=========================================\n");
  10.     return 1;
  11. }
  12. public OnPlayerConnect(playerid)
  13. {
  14.     InitFly(playerid);
  15.     return 1;
  16. }
  17. public OnPlayerCommandText(playerid, cmdtext[])
  18. {
  19.     if(!strcmp(cmdtext,"/fly",true))
  20.     {
  21.         StartFly(playerid);
  22.         return 1;
  23.     }
  24.     if(!strcmp(cmdtext,"/stopfly",true))
  25.     {
  26.         StopFly(playerid);
  27.         return 1;
  28.     }
  29.     return 0;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement