[FilterScript] Bike and Driving School Gates Removed (SA-MP 0.3d)
#1

Another even simpler script, that removes the gates at the bike and the driving school so you can enter the grounds without having to climb over it.

I'd wanted to post this in useful snippets in the first place, but since the topic doesn't work for me, I'll post it here. Mods/admins may move it to there if they want.

Код:
#include <a_samp>
public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Driving and Bike School Gates Removed by Geso (SA-MP 0.3d)");
	print("--------------------------------------\n");
	for(new i=0;i<MAX_PLAYERS;i++)
	{
		RemoveBuildingForPlayer(i, 8229, 0.0, 0.0, 0.0, 6000.0);
    	        RemoveBuildingForPlayer(i, 11014, 0.0, 0.0, 0.0, 6000.0);
                RemoveBuildingForPlayer(i, 11372, 0, 0, 0, 6000.0);
    }
	return 1;
}

public OnPlayerConnect(playerid)
{
    RemoveBuildingForPlayer(playerid, 8229, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 11014, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 11372, 0, 0, 0, 6000.0);
	return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)