18.08.2010, 21:48
Okay, let me explain the situation. I'm setting gate positions right, but i set it in the right pos but when i do /gate it dosn't work and for fbigateopen2 = 1; i don't know what to do in that line every time i put coords in it creates a new gate but i want it to slide away..
Here is the code -
Thanks in advanced.
Here is the code -
Код:
else if(IsPlayerInRangeOfPoint(playerid, 12.0, 323.9845,-1484.9514,24.9362)) { //FBI GATE 2 if(!(PlayerInfo[playerid][pMember] == 2)) return SendClientMessage(playerid,COLOR_GREY," You are not a member of the FBI !"); if(fbigateopen2 == 0) { fbigateopen2 = 1; MoveObject(FBIGate2, , 1.500000); } else { fbigateopen2 = 0; MoveObject(FBIGate2, -1488.1542,24.5853,325.3836, 1.500000); } } else { SendClientMessage(playerid, COLOR_GREY, " You are not near a gate !"); return 1; } return 1; }