SERVER: Unknown Command. - Can't figure out the reason for it..
#2

pawn Code:
if(pdss!=1)//LSPD Garage Shutter
       {
                if(PlayerToPoint(10,playerid,1592.720337,-1638.043579,14.911348))
                {
                        MoveObject(pds,1592.720337,-1638.043579,9.612303,3);
                        pdss=1;
                        SetTimer("AutoClose",5000,0);
                }
                return 1;
        }
        else return SendClientMessage(playerid,COLOR_GREY,"The gate is already open or you are too far.");
Do it like this for all cmds. The problem is, if pdss!=1, but the playertopoint stuff is false, it also wont call the else stuff, so it wont return anything.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)