Jump to content
Sign in to follow this  
suffer4real

[Tutorial] Removing Snakes

Recommended Posts

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Difficulty: Easy

Publish by:  suffer4real

Source AltisLifeRPG.com cache

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Difficulty: Copy and paste

_____________________________________________________________________________________________________________________________________

Make a new folder called "scripts" anywhere you like in your mission

Inside "scripts" make a new .sqf file called "removesnakes.sqf"

Inside removesnakes.sqf copy and paste the following.

[] spawn 
{
    while {true} do 
	{
        {
            if ((agent _x isKindOf "Snake_random_F")) then { deleteVehicle agent _x; };
        }forEach agents;
        sleep 2;
    };
};

Now locate your init.sqf in the root folder.

Where [] execVM "briefing.sqf"; is located in the file, hit "Ctrl + D" on the end of the line to duplicate the line (IF YOU'RE USING NOTEPAD ++) if not, just copy and paste the link however change the content in the "" to locate your removesnakes.sqf file for example if the scripts folder was in my root folder, i would type this. [] execVM "scripts\removesnakes.sqf";

Share this post


Link to post
Share on other sites
6 hours ago, AltisLifeRpg said:

Please put the credit or confirm you are the orignial creator.

i have absolute no idea who came up with this script but it has been posted everywhere on the internet i mean feel free to change it if you know. 

Share this post


Link to post
Share on other sites
1 hour ago, suffer4real said:

i have absolute no idea who came up with this script but it has been posted everywhere on the internet i mean feel free to change it if you know. 

That doesn't mean you can straight copy paste from XxXxXxXx like the rest of your topics though does it?

Share this post


Link to post
Share on other sites

            

/*
Repentz for Psychos Insane Asylum
*/

waitUntil {
	{
		if(agent _x isKindOf "Snake_random_F") then {deleteVehicle agent _x};
	} forEach agents;
	sleep 10;
	false;
};						

 

  • Like 1

Share this post


Link to post
Share on other sites
51 minutes ago, AlaskaVet said:

            

/*
Repentz for Psychos Insane Asylum
*/

waitUntil {
	{
		if(agent _x isKindOf "Snake_random_F") then {deleteVehicle agent _x};
	} forEach agents;
	sleep 10;
	false;
};						

 

Thank you

Share this post


Link to post
Share on other sites
14 hours ago, Vibe said:

That doesn't mean you can straight copy paste from XxXxXxXx like the rest of your topics though does it?

That script exist every where so calm down, is gonna be very helpfull for people consult this topic.

and that doesn't mean you can straight copy paste from the AltisLifeRPG.com cache and tell is the proriety of your web site.

Keep your distance with that forum if you have the in mind to be useless like that.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...