#include <a_samp> new gate1; new gate2; new gate3; new bridge; public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Blank Filterscript by your name here"); print("--------------------------------------\n"); gate1 = CreateObject(980, 229.76307678223, -1925.3801269531, 5.054301738739, 0, 0, 0); gate2 = CreateObject(980, 218.16065979004, -1925.4044189453, 5.054301738739, 0, 0, 0); gate3 = CreateObject(980, 206.6060333252, -1925.3265380859, 5.054301738739, 0, 0, 0); bridge = CreateObject(12857, 219.2053527832, -1901.2874755859, -4.8360729217529, 0, 0, 0); CreateObject(8210, 263.35101318359, -1925.1624755859, 5.215069770813, 0, 0, 0); CreateObject(8210, 200.49789428711, -1951.2523193359, 5.25, 0, 0, 8; CreateObject(8210, 291.85498046875, -1951.4692382813, 5.215069770813, 0, 0, 91.99548339843; CreateObject(5184, 231.46969604492, -1970.5093994141, 21.163722991943, 0, 0, 0); CreateObject(8210, 227.46319580078, -1979.0174560547, 5.215069770813, 0, 0, 0); CreateObject(8210, 265.31753540039, -1979.0238037109, 5.215069770813, 0, 0, 0); CreateObject(3603, 216.86387634277, -1957.8525390625, 8.4021472930908, 0, 0, 90); CreateObject(8417, 269.80862426758, -1946.6649169922, 2.3162922859192, 0, 0, 0); CreateObject(8416, 280.44125366211, -1936.7561035156, 4.4913339614868, 0, 0, 0); CreateObject(3850, 243.89070129395, -1964.1314697266, 2.8268194198608, 0, 0, 0); return 1; } public OnFilterScriptExit() { return 1; } public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("Blank Script"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerConnect(playerid) { return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { return 1; } public OnPlayerDeath(playerid, killerid, reason) { return 1; } public OnVehicleSpawn(vehicleid) { return 1; } public OnVehicleDeath(vehicleid, killerid) { return 1; } public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/wilton", cmdtext, true, 10) == 0) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_LIST,"Wil ton house","Open Gate\nBring up bridge\n Put bridge under water\n close gate","Choose","fuck it"); return 1; } return 0; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { return 1; } public OnPlayerEnterCheckpoint(playerid) { return 1; } public OnPlayerLeaveCheckpoint(playerid) { return 1; } public OnPlayerEnterRaceCheckpoint(playerid) { return 1; } public OnPlayerLeaveRaceCheckpoint(playerid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } public OnObjectMoved(objectid) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { return 1; } public OnVehicleMod(playerid, vehicleid, componentid) { return 1; } public OnVehiclePaintjob(playerid, vehicleid, paintjobid) { return 1; } public OnVehicleRespray(playerid, vehicleid, color1, color2) { return 1; } public OnPlayerSelectedMenuRow(playerid, row) { return 1; } public OnPlayerExitedMenu(playerid) { return 1; } public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) { return 1; } public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { return 1; } public OnRconLoginAttempt(ip[], password[], success) { return 1; } public OnPlayerUpdate(playerid) { return 1; } public OnPlayerStreamIn(playerid, forplayerid) { return 1; } public OnPlayerStreamOut(playerid, forplayerid) { return 1; } public OnVehicleStreamIn(vehicleid, forplayerid) { return 1; } public OnVehicleStreamOut(vehicleid, forplayerid) { return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 0) { if (response) { if(listitem == 0) { MoveObject(gate1,229.76307678223, -1925.3801269531, -0.19569826126099,3.0); MoveObject(gate2,218.16065979004, -1925.4044189453, 10.554302215576,3.0); MoveObject(gate3, 206.6060333252, -1925.3265380859, 5.054301738739,3.0); } if(listitem == 1) { MoveObject(bridge,219.2053527832, -1901.2874755859, -0.08607292175293,3.0); } if(listitem == 2) { MoveObject(bridge,219.2053527832, -1901.2874755859, -4.8360729217529,3.0); } if(listitem == 3) MoveObject(gate1,229.76307678223, -1925.3801269531, 5.054301738739,3.0); MoveObject(gate2,218.16065979004, -1925.4044189453, 5.054301738739,3.0); MoveObject(gate3, 206.6060333252, -1925.3265380859, 5.054301738739,3.0); return 1; } |