[pawn]#include <a_samp>#include <zcmd>new kapu;new kapu2;public OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\" Jelszóval nyíló kapu by [HC][K]Viktorka1\");print(\"--------------------------------------\\n\");kapu = CreateObject(9823, -1642.9116210938, 1204.1203613281, 8.1201400756836, 0, 0, 162.76550292969);kapu2 = CreateObject(9823, -1642.9895019531, 1204.169921875, 8.1201400756836, 0, 0, 342.13513183594); //kapu3 = CreateObject(9823, -1643.0784912109, 1204.1235351563, 11.857467651367, 0, 0, 342.13500976563); //kapu4 = CreateObject(9823, -1642.9385986328, 1204.1610107422, 11.857467651367, 0, 0, 163.48999023438);return 1;}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){if(dialogid == 213) { if(response == 1) { if(strcmp(inputtext,\"jelszó\")) { MoveObject(kapu, -1643.0784912109, 1204.1235351563, 11.857467651367, 4.0); MoveObject(kapu2, -1642.9385986328, 1204.1610107422, 11.857467651367, 4.0); SetTimer(\"kaputimer\", 4000, false); } else { SendClientMessage(playerid,0xFF0000AA,\"Rossz jelszó!\"); } } return 1;}return 0;}CMD:kocsib(playerid, params[]){ShowPlayerDialog(playerid,213,DIALOG_STYLE_INPUT,\"Autó kölcsönzõ\",\"Ahhoz hogy kinyithasd a kaput kell egy jelszó!\",\"Bemegyek\",\"Kilép\");return 1;}forward kaputimer();public kaputimer(){MoveObject(kapu, -1642.9116210938, 1204.1203613281, 8.1201400756836, 4.0);MoveObject(kapu2, -1642.9895019531, 1204.169921875, 8.1201400756836, 4.0);return 1;}[/pawn]A forward kaputimer() után is kell pontosvesszõ.