SA-MP Forums Archive
[FilterScript] pModShopChecker - Avoid Clash in 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] pModShopChecker - Avoid Clash in Garages! (/showthread.php?tid=254248)



pModShopChecker [V1.0] - Avoid Clash in Garages! - iPLEOMAX - 09.05.2011

Take a look at my new releases: (This topic is old/useless)
Anti-Reconnect Script.
** Experimental Screen Cursor (Usable Server-sided Mouse Pointer) **
:: iVO - Vehicle Object Creator/Attach Tool ::
₪ Outrun Race Mode ₪ [Rival Challenge Anywhere]
♦ iMaxPhone - Use a phone to talk to your buddy privately! [Basic Version]
::: Sleek & Stylish Digital Speedometer :::


Simple FS: pModShopChecker

Quote:

Oh LOL. This FS is when I was NEW to scripting. I didn't know much.. I suggest you don't use this.

Ok, here is a simple but useful FS I created, which will prevent players from crashing each other when they enter the modding garages like Transfender, Wheel Arch Angels, Loco Low Co.
I don't know if anyone else made it & I couldn't find one.

You don't need any other includes/plug-ins to use this.

Don't expect something very professional from me, because I'm a new scripter.

DOWNLOAD:
.amx - Click here - Mediafire Download
.pwn - Click here - Mediafire Download
Pastebin: http://pastebin.com/YCnjXNa1


Re: pModShopChecker - Avoid Clash in Garages! - marko94 - 09.05.2011

You've to provide the .pwn file too.

Quote:

Scripts or other programmed things released on those forums MUST include all source.




Re: pModShopChecker - Avoid Clash in Garages! - iPLEOMAX - 09.05.2011

Quote:
Originally Posted by marko94
ПоÑмотреть Ñообщение
You've to provide the .pwn file too.
Alright, added.


Re: pModShopChecker - Avoid Clash in Garages! - [COD5]RedWolf - 10.08.2011

nice nice!


Re: pModShopChecker - Avoid Clash in Garages! - Kar - 10.08.2011

pawn Код:
public OnEnterExitModShop(playerid, enterexit, interiorid)
{
    new vehid = GetPlayerVehicleID(playerid);
    SetPlayerVirtualWorld(playerid, playerid);
    SetVehicleVirtualWorld(vehid, playerid);
    PutPlayerInVehicle(playerid, vehid, 0);
    if(enterexit == 0)
    {
        SetVehicleVirtualWorld(vehid, 0);
        SetPlayerVirtualWorld(playerid, 0);
        PutPlayerInVehicle(playerid, vehid, 0);
    }
    return 1;
}
what's wrong with just 1 callback...


Re: pModShopChecker - Avoid Clash in Garages! - Kaperstone - 10.08.2011

nice
but i dont get it...
whats the problem to get the interior id,and when player enter the interior it will kill him or set his pos back to the last pos.
or just block it with a gate.


Re: pModShopChecker - Avoid Clash in Garages! - [GTA]AmericanGangster - 10.08.2011

nice fs i will use it
10/10