15.05.2009, 14:55
How can i make gates for like factions and gangs? please i need help on this
Thank you
Thank you
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 |
Originally Posted by Magneeto
And how do i make it like LSPD gate only lspd members can open it
And on.. |
if(IsPlayerLSPD_Or_Whatever[playerid] == 1)
{
// your code
}