SA-MP Forums Archive
Close Tuning Garages - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Close Tuning Garages (/showthread.php?tid=105047)



Close Tuning Garages - SureShot - 27.10.2009

Hey, how I can Close all Tuning Garages? I heared that its possible @ script.


Re: Close Tuning Garages - MPKaboose - 27.10.2009

no only if you block then with objects


Re: Close Tuning Garages - [mad]MLK - 27.10.2009

Don't take my word for it but, If you change return 1; to return 0; under onplayerentermodshop it should not work for them, But if all else fails can you not just map some fence in front of the doors?.


Re: Close Tuning Garages - GforceNL - 27.10.2009

Quote:
Originally Posted by ★Chris.
Don't take my word for it but, If you change return 1; to return 0; under onplayerentermodshop it should not work for them, But if all else fails can you not just map some fence in front of the doors?.
yea Just put some fence For it....


Re: Close Tuning Garages - SureShot - 28.10.2009

And how i can disable it now?


Re: Close Tuning Garages - SureShot - 28.10.2009

Damn. On all garages a fence -.-'
But can i script, that if the player enter the mod shop he leave it directly?


Re: Close Tuning Garages - SureShot - 30.10.2009

Who can helps?


Re: Close Tuning Garages - BMUK - 30.10.2009

ignore me, i just read the function @ wiki


Re: Close Tuning Garages - SureShot - 30.10.2009

public OnEnterExitModShop(playerid, enterexit, interiorid)
{
//
return 1;
}


Re: Close Tuning Garages - BMUK - 30.10.2009

ignore me, i just read the function @ wiki