lspd open gate is not working
#1

hey i am trying to make this open can someone help me with this i tryed but wont move the object



i want it to open with /openbar /closebar
Reply
#2

Show us the LSPD's gate code please first.
Reply
#3

Quote:
Originally Posted by HyDrAtIc
Посмотреть сообщение
Show us the LSPD's gate code please first.
oh yes my apologies

cmd
PHP код:
cmd(pbopplayeridparams[])
{
        if(!
IsCop(playerid))
        {
            return 
SendClientMessage(playeridCOLOR_RED"You are not a Law Enforcement officer.");
        }
        if(
PlayerToPoint(7.0,playerid,1544.6025,-1627.3309,13.3828))
        {
            
MoveObject(edoor7,1544.69995, -1630.8000513.10000,0.50);
            return 
1;
        }
        else 
SendClientMessage(playerid0xAA3333AA"[Error]: {FFFFFF} Must be next to The lspd Bar!!");
           return 
1;
    }
cmd(pbclplayeridparams[])
{
        if(!
IsCop(playerid))
        {
            return 
SendClientMessage(playeridCOLOR_RED"You are not a Law Enforcement officer.");
        }
        if(
PlayerToPoint(7.0,playerid,1544.6025,-1627.3309,13.3828))
        {
            
MoveObject(edoor7,1544.69995, -1630.8000513.10000,0.50);
            return 
1;
        }
        else 
SendClientMessage(playerid0xAA3333AA"[Error]: {FFFFFF} Must be next to The lspd Bar!!");
           return 
1;
    } 
i defined already
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)