Riasztó nem jó?[pawn] GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, 1, doors, boonet, boot, objective);[/pawn]
#include <a_samp>new engine, lights, alarm, doors, bonnet, boot, objective;public OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\" Riasztó by kadaradam & secur \");print(\"--------------------------------------\\n\");return 1;}public OnFilterScriptExit(){return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/riasztó\", cmdtext, true, 10) == 0){GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, 1, doors, bonnet, boot, objective);return 1;}if (strcmp(\"/riasztóoff\", cmdtext, true, 10) == 0){GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, 0, doors, bonnet, boot, objective);return 1;}return 0;}