28.03.2011, 18:04
Quote:
|
This is the CMD for the gate
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/close", cmdtext, true, 10) == 0) { MoveObject(base,2720.10571289,-2409.60424805,12.46093750, 3.0 ); SendClientMessage(playerid,messagecolor,"The Gate is now CLOSED!"); return 1; } if (strcmp("/open", cmdtext, true, 10) == 0) { MoveObject(base,2720.0986328125,-2401.1477050781,12.4609375, 3.0 ); SendClientMessage(playerid,messagecolor,"The Gate is now OPEN!"); return 1; } |
like:
base = CreateObject(....)
i just need the cords...


