Command Problem
#1

pawn Код:
CMD:chdoor(playerid, params[]){
    if(groupVariables[playerVariables[playerid][pGroup]][gGroupType] == 2) {
        if(IsPlayerInRangeOfPoint(playerid, 4.5, 371.9613,166.6872,1008.3828)) {
            if(CHDoor == 0) {
                MoveDynamicObject(CHDoor, 371.2587890625, 166.46171569824, 1007.3776245117, 3.5);
                CHDoor = 1;
            }
            else {
                MoveDynamicObject(CHDoor, 371.25970458984, 166.59274291992, 1007.3776245117, 3.5);
                CHDoor = 0;
            }
        }
    }
}
What's wrong with the command? It just says SERVER: Unknown Command, but it compiles fine...
Reply
#2

Return it as true?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)