Quote:
Originally Posted by XK
pawn Код:
if (strcmp("/go", cmdtext, true, 12) == 0) { if(IsPlayerInRangeOfPoint(playerid, 10, 1539.57263, -1632.32275, 12.43860)) { MoveDynamicObject(LSPDgate, 1539.5726, -1625.0808, 12.4386, 6); SendClientMessage(playerid, 0xEF994300, "The gate have been opened."); SetTimer("LSPDgateCheck", 10000, 0); } return 1; }
pawn Код:
forward LSPDgateCheck(); public LSPDgateCheck() { MoveDynamicObject(LSPDgate, 1539.57263, -1632.32275, 12.43860, 6); }
|
Okay, so I set up the streamer and logged into my game to test it out.
/go works but it will not move the gate..