[FilterScript] [FS]Simple Changing World Fs (GOOD FOR RP)
#1

CHANGING WORLD FS BY ME v2!
MY VERY FIRST OWN FS!!!
Well if you type /ow You Will go to another world and not see the players in the server but you can still chat to them.
To Go Back just type /fr to Go Back to Freeroam Mode


What's new in v2? Well if you are already in Freeroam or other world mode it will say ERROR : You are already blablabla and i changed it to zcmd

CODE v2:
Код:
//Virtual World FS By aizeah555 v2
//DONT REMOVE MY CREDITS!!!!


#define FILTERSCRIPT

#include <a_samp>
#include <zcmd>

#define R 0xAA3333AA
#define LG 0x99FF9900

public OnFilterScriptInit()
{
   print("\n-----------------------------------------");
   print("      Virtual Wolrd v2 fs by aizeah555      ");
   print("-------------------------------------------\n");

   return 1;
}


CMD:ow ( playerid , params [] )
{
	if(GetPlayerVirtualWorld(playerid) == 3)
    {
	SendClientMessage(playerid,R,"ERROR : You are Already in another world.");
	}
	else
	{
    SetPlayerVirtualWorld(playerid, 3);
	SendClientMessage(playerid,LG,"You are now in Another World , Use /fr to Go back");
    }
	return 1;
}
CMD:fr ( playerid , params [] )
{
	if(GetPlayerVirtualWorld(playerid) == 0)
    {
	SendClientMessage(playerid,R,"ERROR : You are Already in Freeroam World.");
	}
	else
	{
    SetPlayerVirtualWorld(playerid, 0);
	SendClientMessage(playerid,LG,"You are now in the Freeroam World.");
	}
	return 1;
}
NOTE:
You can change /ow and /fr But please Dont remove credits...


SCREENS:







PASTEBIN LINK v1 OLD:
http://pastebin.com/79SPUwUV

PASTEBIN LINK v2 RECOMMENDED:
http://pastebin.com/CnrZdAjN

WARNINGS REMOVED
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)