29.07.2010, 01:10
Hello someone can help me? I want to ad some gates to my game mode, i make the script but i dont see gates i saw only the text.I need place it in mta then convert it or something?Or i just need the object id?
CreateObject(980,1588.21594238,-1637.91577148,15.19820213,0.00000000,0.00000000,0.00000000); //object(airportgate) (1)
CreateObject(968,1544.75622559,-1630.54687500,13.07956219,90.00000000,90.00000000,90.00000000); //object(barrierturn) (1)
CreateObject(3578,1545.62805176,-1637.81933594,13.33238983,0.00000000,0.00000000,90.00000000); //object(dockbarr1_la) (1)
CreateObject(3578,1545.73327637,-1618.40454102,13.33259487,0.00000000,0.00000000,90.00000000); //object(dockbarr1_la) (2)
#pragma tabsize 0 forward GateCloseLSPDGATE(); new LSPDGATE; |
CreateObject(980,1588.21594238,-1637.91577148,15.19820213,0.00000000,0.00000000,0. 00000000); //object(airportgate) (1) CreateObject(968,1544.75622559,-1630.54687500,13.07956219,90.00000000,90.00000000, 90.00000000); //object(barrierturn) (1) CreateObject(3578,1545.62805176,-1637.81933594,13.33238983,0.00000000,0.00000000,90 .00000000); //object(dockbarr1_la) (1) |
//---------------------------------{pdGate]------------------------------------------------ if (strcmp(cmdtext, "/opengate", true)==0) { MoveObject(LSPDGATE,);//Fechado MoveObject(LSPDGATE,);//Aberto SetTimer("GateCloseLSPDGATE", 5000, 0); SendClientMessage(playerid, COLOR_YELLOW,"Be Welcome to the LSPD the Gate will AutoClose in 5 Seconds"); return 1; } |