18.03.2013, 20:47
Hey i need major help for an org on my server i've tried to make gates here
but i just dont get the coords
here's my code
here's the picture where i want gates
i just dont get what to change the numbers to if you could replace it please help Thanks!
but i just dont get the coords
here's my code
Quote:
CMD:mf(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid, 10.0,2234,-2215.5,12.5)) { // WHAT DO I CHANGE MY NUMBER 2 if (PlayerOrg[playerid] == 1) { if(GateOpen == 0) { MoveDynamicObject(gate, 2238.9382,-2221.0515,12.5, 2); // WHAT DO I CHANGE MY NUMBER 2 MoveDynamicObject(Gate, 2228.8779,-2210.9895,12.5, 2); // WHAT DO I CHANGE NUMBER 2 GateOpen = 1; } else { MoveDynamicObject(Gate, 2234,-2215.5,12.5, 2); MoveDynamicObject(gate, 2234,-2215.5,12.5, 2); // WHAT DO I CHANGE NUMBER 2 GateOpen = 0; } } else return 0; } else { SendClientMessage(playerid, COLOR_WHITE, "You are not in range of the gate."); } return 1; } |
i just dont get what to change the numbers to if you could replace it please help Thanks!