Advertisement
Guest User

Virtual World FS v2 AIZEAH555

a guest
May 2nd, 2015
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.02 KB | None | 0 0
  1. //Virtual World FS By aizeah555 v2
  2. //DONT REMOVE MY CREDITS!!!!
  3.  
  4.  
  5. #define FILTERSCRIPT
  6.  
  7. #include <a_samp>
  8. #include <zcmd>
  9.  
  10. #define R 0xAA3333AA
  11. #define LG 0x99FF9900
  12.  
  13. public OnFilterScriptInit()
  14. {
  15.    print("\n-----------------------------------------");
  16.    print("      Virtual Wolrd v2 fs by aizeah555      ");
  17.    print("-------------------------------------------\n");
  18.  
  19.    return 1;
  20. }
  21.  
  22.  
  23. CMD:ow ( playerid , params [] )
  24. {
  25.     if(GetPlayerVirtualWorld(playerid) == 3)
  26.     {
  27.     SendClientMessage(playerid,R,"ERROR : You are Already in another world.");
  28.     }
  29.     else
  30.     {
  31.     SetPlayerVirtualWorld(playerid, 3);
  32.     SendClientMessage(playerid,LG,"You are now in Another World , Use /fr to Go back");
  33.     }
  34.     return 1;
  35. }
  36. CMD:fr ( playerid , params [] )
  37. {
  38.     if(GetPlayerVirtualWorld(playerid) == 0)
  39.     {
  40.     SendClientMessage(playerid,R,"ERROR : You are Already in Freeroam World.");
  41.     }
  42.     else
  43.     {
  44.     SetPlayerVirtualWorld(playerid, 0);
  45.     SendClientMessage(playerid,LG,"You are now in the Freeroam World.");
  46.     }
  47.     return 1;
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement