SA-MP Forums Archive
door problem - 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: door problem (/showthread.php?tid=596879)



door problem - GeneralAref - 23.12.2015

guys how to lock this gate?

PHP код:
gateabase1 CreateObject(1523371.2417166.69711007.3835,   0.000000.000000.00000);
CMD:ag1o(playeridparams[])
{
    if(
PlayerInfo[playerid][pAdmin] >= || IsPlayerAdmin(playerid))
    {
        
MoveObject(gateabase1371.2417166.69711007.38352.000.00000.0000, -90.0000);
        return 
1;
    }
    else return 
SendClientMessage(playerid,COLOR_RED,"You do not have permission to use this command!");
}
CMD:ag1c(playeridparams[])
{
    if(
PlayerInfo[playerid][pAdmin] >= || IsPlayerAdmin(playerid))
    {
        
MoveObject(gateabase1371.2417166.69711007.38352.000.00000.00000.0000);
        return 
1;
    }
    else return 
SendClientMessage(playerid,COLOR_RED,"You do not have permission to use this command!");




Re: door problem - SupperRobin6394 - 23.12.2015

You can block it with a small object.


Re: door problem - GeneralAref - 23.12.2015

can you give me small object id and Invisible؟