Moving Gate Bar object
#1

Well , Everyone knows the Gate bar object which it's ID = 968 that most of the people use For LSPD first gate , anyway...I Want to make it's moving speed, so i will have to make it with MoveDynamicObject , but MoveDynamicObject doesn't Support RX RY RZ , only X Y Z speed , so i did that :


PHP код:
    if(strcmp(cmdtext,"/ddogate"true) == 0)
    {
        
//MoveDynamicObject(DDEPOT,1895.0921630859, -1879.7592773438, 13.479251861572,2); //object(phils_compnd_gate) (2)
        
SetDynamicObjectRotDDEPOT0.00000.00000.0000);
        
SendClientMessage(playeridCOLOR_WHITE"Drug Depot Gate has Been opened.");
        return 
1;
    }
    if(
strcmp(cmdtext,"/ddcgate"true) == 0)
    {
        
//MoveDynamicObject(DDEPOT,1895.0921630859, -1879.7592773438, 13.479251861572,2); //object(phils_compnd_gate) (2)
        
SetDynamicObjectRotDDEPOT0.000090.00000.0000);
        
SendClientMessage(playeridCOLOR_WHITE"Drug Depot Gate has Been Closed.");
        return 
1;
    } 
when i added it with ONLY SetDynamicObjectRot without MoveDynamicObject - it worked , But the Object just go up in a second , like it get Tp'ed there.. lol , Anyway - is there a way to make it go up slowly ?
Reply


Messages In This Thread
Moving Gate Bar object - by -CaRRoT - 12.01.2012, 19:01
Re: Moving Gate Bar object - by mineralo - 12.01.2012, 19:06
Re: Moving Gate Bar object - by -CaRRoT - 12.01.2012, 19:25

Forum Jump:


Users browsing this thread: 1 Guest(s)