SA-MP Forums Archive
Gate bug! Help! - 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)
+--- Thread: Gate bug! Help! (/showthread.php?tid=354205)



Gate bug! Help! - RLGaming - 25.06.2012

So my server has had this problem since 0.3d I've never known how to fix it..

I updated all my plugins, etc..

I even added the extra 0's on the end since of the update when I add that the gate wont move at all..
After a while the server's object's dis-appearing, like the one's that are in the script.. Like mapping, etc.. But the mapping in the FILTERSCRIPT is fine and doesn't go..
Also, ever since I updated my PD door's wont work, the keypad has gone and i can't get through them..
Any help people? Please


Re: Gate bug! Help! - TyThaBomb - 25.06.2012

If you're using a streamer, that helps. I know how it's confusing making moving objects, but really, you can define them as you make them. An example:

pawn Код:
#include <a_samp>
#include <F_Streamer>

new gate;

public OnFilterScriptInit()
{
    gate = F_CreateObject(insert info here);
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/movegate", cmdtext, true, 10) == 0)
    {
        MoveObject(gate, whereever you move it to)
        //then place a timer here, which closes it in however many seconds.
        return 1;
    }
    return 0;
}