15.05.2009, 18:38
Quote:
Originally Posted by Derksen123
//--------------------------------------[GATE]------------------------------------------------------
if (strcmp(cmdtext, "/COMMANDCLOSE", true)==0) { MoveObject (COMMAND,-380.886,-3110.380,(10).912,2.5); return 1; X Y Z HOW fast THE LAST 1E } if (strcmp(cmdtext, "/COMMANDOPEN", true)==0) if you look at the code you see a different with the first 1e and the second 1e { at the first 1e at Z code you see (10) MoveObject (COMMAND,-380.886,-3110.380,(3).912,2.5); at the second 1e at Z code you see (3) i changed it , when you type /commandopen it return 1; SAME WITH HERE goes down if you make that command lower as the standard code it goes down like (4) } if you make the standard code higher like (12) it goes up but the saved position is always the standard go see at ongamemodeinit that i put in the reply (--->) command the standard code from this code what you see left = 10 AT ongamemode init that is the standard code Command= CreateObject(1508, -415.287292, -3124.881592,---> 10.045923, 0.0000, 0.0000, 78.7500); and at new ( new COMMAND ![]() |
Do you have any variables to assign the gate to a faction?
You could do it with mysql scripting, making a table and fill it up, but if you don't know. You can just make a command and assign the gate to a faction, as far as you have factions.