Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van.
Üzenetek - ZSOLTI99
Oldalak: 1 ... 76 77 [78] 79 80 ... 117
1156
« Dátum: 2013. augusztus 26. - 12:36:28 »
lehet mer olyan össze függõ volt pont ugyan olyan volt kicsi eltérés volt
1157
« Dátum: 2013. augusztus 26. - 12:34:36 »
Kösz de miben pazarlok? Szerintem ez tökéletes...
1158
« Dátum: 2013. augusztus 26. - 12:30:56 »
Helló. AZ a baj hogy mikor beszállok a jármûbe akkor nem világít a lámpa mer nekem az kéne hogy világítson és egyben mikor nyomom a Q gombot vagy E gombot akkor az egyik lámpa égve marad majd a másik villog pl Q nyomom akkor bal oldalt villog jobb oldalt rendesen világítson most nem világít ebben kéne segíteni #include <a_samp> #define BLINK_RATE 400 #define PFLASH_RATE 300 #define LIGHT_KEY KEY_SUBMISSION #undef MAX_PLAYERS #define MAX_PLAYERS 50 #define PRESSED(%0) \\ (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0))) new BlinkTime[MAX_PLAYERS]; public OnPlayerDisconnect(playerid, reason) { KillTimer(BlinkTime[playerid]); return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate == PLAYER_STATE_DRIVER) { new panels, doors, lights, tires; new carid = GetPlayerVehicleID(playerid); GetVehicleDamageStatus(carid, panels, doors, lights, tires); lights = encode_lights(1, 1, 1, 1); SetPVarInt(playerid, \"vMainOn\", 0); UpdateVehicleDamageStatus(carid, panels, doors, lights, tires); } else if(newstate == PLAYER_STATE_ONFOOT) { KillTimer(BlinkTime[playerid]); SetPVarInt(playerid, \"CopFlash\", 0); } return 1; } public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(PRESSED(LIGHT_KEY)) { if(IsPlayerInAnyVehicle(playerid) && GetPlayerVehicleSeat(playerid) == 0) { if(GetPVarInt(playerid, \"CopFlash\") == 0) { new panels, doors, lights, tires; new carid = GetPlayerVehicleID(playerid); GetVehicleDamageStatus(carid, panels, doors, lights, tires); switch(GetPVarInt(playerid, \"vMainOn\")) { case 0:{ lights = encode_lights(0, 0, 0, 0); SetPVarInt(playerid, \"vMainOn\", 1); } case 1:{ lights = encode_lights(1, 1, 1, 1); SetPVarInt(playerid, \"vMainOn\", 0); } } UpdateVehicleDamageStatus(carid, panels, doors, lights, tires); } } } if(PRESSED(KEY_CROUCH)) { if(IsPublicService(GetPlayerVehicleID(playerid)) && GetPlayerVehicleSeat(playerid) == 0) { switch(GetPVarInt(playerid, \"CopFlash\")) { case 0:{ KillTimer(BlinkTime[playerid]); BlinkTime[playerid] = SetTimerEx(\"vBlinker\", PFLASH_RATE, 1, \"i\", playerid); SetPVarInt(playerid, \"CopFlash\", 1); } case 1:{ KillTimer(BlinkTime[playerid]); new panels, doors, lights, tires; new carid = GetPlayerVehicleID(playerid); GetVehicleDamageStatus(carid, panels, doors, lights, tires); lights = encode_lights(1, 1, 1, 1); UpdateVehicleDamageStatus(carid, panels, doors, lights, tires); SetPVarInt(playerid, \"CopFlash\", 0); } } } } if(PRESSED(KEY_LOOK_LEFT)) { if(GetPlayerVehicleSeat(playerid) == 0) { if(GetPVarInt(playerid, \"vBLeft\") == 0) { new lights; KillTimer(BlinkTime[playerid]); BlinkTime[playerid] = SetTimerEx(\"vBlinker\", BLINK_RATE, 1, \"i\", playerid); lights = encode_lights(1, 1, 1, 1); SetPVarInt(playerid, \"vBLeft\", 1); SetPVarInt(playerid, \"vBRight\", 0); }else{ KillTimer(BlinkTime[playerid]); new panels, doors, lights, tires; new carid = GetPlayerVehicleID(playerid); GetVehicleDamageStatus(carid, panels, doors, lights, tires); switch(GetPVarInt(playerid, \"vMainOn\")){ case 0:{ lights = encode_lights(1, 1, 1, 1); } case 1:{ lights = encode_lights(0, 0, 0, 0); } } UpdateVehicleDamageStatus(carid, panels, doors, lights, tires); lights = encode_lights(0, 0, 0, 0); SetPVarInt(playerid, \"vBLeft\", 0); } } } if(PRESSED(KEY_LOOK_RIGHT)) { if(GetPlayerVehicleSeat(playerid) == 0) { if(GetPVarInt(playerid, \"vBRight\") == 0) { new lights; KillTimer(BlinkTime[playerid]); BlinkTime[playerid] = SetTimerEx(\"vBlinker\", BLINK_RATE, 1, \"i\", playerid); SetPVarInt(playerid, \"vBRight\", 1); lights = encode_lights(1, 1, 1, 1); lights = encode_lights(0, 0, 0, 0); SetPVarInt(playerid, \"vBLeft\", 0); }else{ KillTimer(BlinkTime[playerid]); new panels, doors, lights, tires; new carid = GetPlayerVehicleID(playerid); GetVehicleDamageStatus(carid, panels, doors, lights, tires); switch(GetPVarInt(playerid, \"vMainOn\")){ case 0:{ lights = encode_lights(1, 1, 1, 1); } case 1:{ lights = encode_lights(0, 0, 0, 0); } } UpdateVehicleDamageStatus(carid, panels, doors, lights, tires); lights = encode_lights(0, 0, 0, 0); SetPVarInt(playerid, \"vBRight\", 0); } } } return 1; } forward vBlinker(playerid); public vBlinker(playerid) { if(IsPlayerInAnyVehicle(playerid) && GetPVarInt(playerid, \"CopFlash\") != 1) { new Keys, ud, lr, panels, doors, lights, tires; new carid = GetPlayerVehicleID(playerid); GetPlayerKeys(playerid, Keys, ud, lr); GetVehicleDamageStatus(carid, panels, doors, lights, tires); if(lr > 0) { if(GetPVarInt(playerid, \"vBLeft\") == 1) { KillTimer(BlinkTime[playerid]); switch(GetPVarInt(playerid, \"vMainOn\")){ case 0:{ lights = encode_lights(1, 1, 1, 1); } case 1:{ lights = encode_lights(0, 0, 0, 0); } } UpdateVehicleDamageStatus(carid, panels, doors, lights, tires); SetPVarInt(playerid, \"vBLeft\", 0); return 1; } } else if(lr < 0) { if(GetPVarInt(playerid, \"vBRight\") == 1) { KillTimer(BlinkTime[playerid]); switch(GetPVarInt(playerid, \"vMainOn\")){ case 0:{ lights = encode_lights(1, 1, 1, 1); } case 1:{ lights = encode_lights(0, 0, 0, 0); } } UpdateVehicleDamageStatus(carid, panels, doors, lights, tires); SetPVarInt(playerid, \"vBRight\", 0); return 1; } } if(GetPVarInt(playerid, \"vBRight\") == 1) { switch(GetPVarInt(playerid, \"vMainOn\")){ case 0:{ switch(GetPVarInt(playerid, \"vBlinkOn\")){ case 0:{ lights = encode_lights(1, 1, 0, 0); SetPVarInt(playerid, \"vBlinkOn\", 1); } case 1:{ lights = encode_lights(1, 1, 1, 1); SetPVarInt(playerid, \"vBlinkOn\", 0); } } } case 1:{ switch(GetPVarInt(playerid, \"vBlinkOn\")){ case 0:{ lights = encode_lights(0, 0, 1, 1); SetPVarInt(playerid, \"vBlinkOn\", 1); } case 1:{ lights = encode_lights(0, 0, 0, 0); SetPVarInt(playerid, \"vBlinkOn\", 0); } } } } } if(GetPVarInt(playerid, \"vBLeft\") == 1) { switch(GetPVarInt(playerid, \"vMainOn\")){ case 0:{ switch(GetPVarInt(playerid, \"vBlinkOn\")){ case 0:{ lights = encode_lights(0, 0, 1, 1); SetPVarInt(playerid, \"vBlinkOn\", 1); } case 1:{ lights = encode_lights(1, 1, 1, 1); SetPVarInt(playerid, \"vBlinkOn\", 0); } } } case 1:{ switch(GetPVarInt(playerid, \"vBlinkOn\")){ case 0:{ lights = encode_lights(1, 1, 0, 0); SetPVarInt(playerid, \"vBlinkOn\", 1); } case 1:{ lights = encode_lights(0, 0, 0, 0); SetPVarInt(playerid, \"vBlinkOn\", 0); } } } } } UpdateVehicleDamageStatus(carid, panels, doors, lights, tires); } else if(GetPVarInt(playerid, \"CopFlash\") == 1) { new d[4]; new carid = GetPlayerVehicleID(playerid); GetVehicleDamageStatus(carid, d[0], d[1], d[2], d[3]); switch(GetPVarInt(playerid, \"vBlinkOn\")) { case 0:{ d[2] = encode_lights(1, 1, 0, 0); SetPVarInt(playerid, \"vBlinkOn\", 1); } case 1:{ d[2] = encode_lights(0, 0, 1, 1); SetPVarInt(playerid, \"vBlinkOn\", 0); } } UpdateVehicleDamageStatus(carid, d[0], d[1], d[2], d[3]); return 1; } return 1; } encode_lights(light1, light2, light3, light4) { return light1 | (light2 << 1) | (light3 << 2) | (light4 << 3); } IsPublicService(carid) { new PS[11] = { 416, 427, 490, 528, 407, 544, 596, 598, 597, 599, 601 }; for(new i = 0; i < sizeof(PS); i++) { if(GetVehicleModel(carid) == PS) return 1; } return 0; }
1159
« Dátum: 2013. augusztus 26. - 10:51:34 »
1160
« Dátum: 2013. augusztus 25. - 20:00:17 »
Hali. AZt hogy tudom meg oldani egy olyan dialogot amit csak 1lvl admin használhatja ppc be kellene Elõre is köszönöm a válaszokat!
1161
« Dátum: 2013. augusztus 25. - 15:46:18 »
Felnézek majd
1162
« Dátum: 2013. augusztus 25. - 15:15:29 »
Jó kis mapp grat hozzá
1163
« Dátum: 2013. augusztus 25. - 15:13:12 »
Heli. Mivel ma unatkoztam ezért készítettem egy határ scriptet tartalmaz 2 határ át kelõt lassítók is vannak a határ elõtt Készítette:ZSOLTI99 Készítési idõ: 35 perc kb Tesztelve volt és mûködik Sorok száma: 101 script #include <a_samp> #include <a_objects> forward Sorompo(playerid); forward Sorompo2(playerid); new hatar1; new hatar2; new bool:gateopen; public OnFilterScriptInit() { print(\"\\n************************************\"); print(\"Ez egy Határ script by ZSOLTI99\"); print(\"Határ FS Betöltés....\"); print(\"************************************\\n\"); return 1; } public OnFilterScriptExit() { print(\"\\n************************************\"); print(\" Határ FS Leállítva by ZSOLTI99\"); print(\" Használd egészségel!!\"); print(\"************************************\\n\"); } public OnGameModeInit() { //====================M=A=P=P==b=y==Z=S=O=L=T=I=9=9========================================//// CreateObject(7033, 74.4545, -1534.99036, 8.507, 0, 0, 264); CreateObject(3578, 75.1622, -1547.62708, 4.4286, 0, 0, 174); CreateObject(3578, 77.7437, -1522.43311, 3.4835, 0, 0, 171.996); CreateObject(10829, 79.6262, -1520.01794, 3.4964, 0, 0, 82); CreateObject(10829, 85.9308, -1552.93933, 4.7507, 0, 0, 260.996); CreateObject(620, 95.7486, -1581.90247, 10.1182, 0, 0, 153.715); CreateObject(620, 86.5383, -1570.86243, 7.9032, 0, 0, 153.715); CreateObject(620, 80.1543, -1562.01038, 5.8084, 0, 0, 153.715); CreateObject(620, 73.6703, -1555.41467, 4.0039, 0, 0, 153.715); CreateObject(3578, 80.7353, -1554.70496, 4.8124, 0, 0, 82.496); CreateObject(3578, 85.3638, -1557.59753, 4.6846, 0, 0, 171.991); CreateObject(3578, 91.0212, -1534.93518, 3.9982, 0, 0, 82.491); CreateObject(3578, 97.5673, -1535.7373, 4.2196, 0, 0, 82.491); CreateObject(3578, 105.5742, -1537.87012, 4.8186, 0, 0, 82.491); CreateObject(3578, 89.4888, -1518.94788, 3.5164, 0, 5, 166.491); CreateObject(3578, 87.7218, -1522.91748, 3.1892, 0, 4.999, 142.487); CreateObject(3578, 85.237, -1525.06311, 3.3332, 0, 5.743, 122.482); CreateObject(3578, 62.3064, -1535.02368, 3.9903, 0, 0, 171.985); CreateObject(3578, 52.3062, -1533.59741, 3.9783, 0, 0, 171.985); CreateObject(3578, 42.1612, -1532.17627, 3.9811, 0, 0, 171.985); CreateObject(3578, 32.2735, -1530.4281, 3.9582, 0, 0, 167.985); CreateObject(3578, 22.4917, -1528.20508, 3.3962, 0, 4.75, 165.981); CreateObject(3578, 12.795, -1525.59009, 2.621, 0, 3.746, 163.976); CreateObject(3578, 3.3151, -1522.87378, 1.9735, 0, 3.741, 163.971); CreateObject(3578, 62.5294, -1532.00732, 4.0752, 0, 0, 351.735); CreateObject(3578, 52.6193, -1530.56604, 4.0546, 0, 0, 351.733); CreateObject(3578, 42.5405, -1529.05139, 4.091, 0, 0, 351.733); CreateObject(3578, 32.6619, -1527.58521, 3.9282, 0, 358.25, 351.733); CreateObject(3578, 22.7568, -1525.98437, 3.1376, 0, 353.248, 349.733); CreateObject(3578, 14.2123, -1524.41296, 2.3892, 1.498, 356.742, 349.813); CreateObject(3578, 4.2076, -1522.58838, 1.8351, 1.494, 356.737, 349.81); CreateObject(620, 18.361, -1525.97046, 3.3304, 0, 0, 153.715); CreateObject(620, 28.2149, -1528.24023, 3.9977, 0, 0, 153.715); CreateObject(620, 36.0215, -1529.87732, 4.4355, 0, 0, 153.715); CreateObject(620, 45.4658, -1531.12866, 4.3479, 0, 0, 153.715); CreateObject(620, 55.0856, -1532.43103, 4.2586, 0, 0, 153.715); CreateObject(620, 59.933, -1532.96423, 4.2093, 0, 0, 153.715); //===========================================================================================//// hatar1=CreateObject(3578, 67.9145, -1541.01294, 4.6235, 0, 0, 268); SetTimer(\"Sorompo\",1000, true); hatar2=CreateObject(3578, 81.2566, -1528.60779, 4.3735, 0, 0, 264.25); SetTimer(\"Sorompo2\",1000, true); return 1; } //Gamemode init alatt: public Sorompo(playerid) { for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerInRangeOfPoint(i,5.0, 67.9145, -1541.01294, 4.6235)) { if(gateopen == false) { MoveObject(hatar1,67.9145, -1541.01294, 2.6735, 3.0);// nyitot// barrier closed after command gateopen = true; } return 1; } } if(gateopen == true) { MoveObject(hatar1,67.9145, -1541.01294, 4.6235,3.0); //zárt// barrier closed after command gateopen = false; } return 1; } public Sorompo2(playerid) { for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerInRangeOfPoint(i,5.0,81.2566, -1528.60779, 4.3735)) { if(gateopen == false) { MoveObject(hatar2,67.9145, -1541.01294, 2.6735, 3.0);// nyitot// barrier closed after command gateopen = true; } return 1; } } if(gateopen == true) { MoveObject(hatar2,81.2566, -1528.60779, 4.3735,3.0); //zárt //zárt// barrier closed after command gateopen = false; } return 1; } Letöltés link: http://data.hu/get/6868300/hatar.pwnHasználjátok egészséggel !!!
1164
« Dátum: 2013. augusztus 25. - 11:22:09 »
Hali.Találtam neten ezt a scriptet olyan hogy DFT30 kéne lenni oldala de nem rakja rá mi lehet a hiba? /* Vuki_Transporter Created By: Vukilore Please keep my name in the credit, if you want to delete the SendClientMessage at the connection put my pseudo in a /credit command :p Otherwise just be honnest with yourself, you don\'t script that */ #include <a_samp> new vehdft[MAX_VEHICLES], objveh[MAX_VEHICLES][9], bool:opendoor[MAX_VEHICLES]; public OnFilterScriptInit() { print(\"\\n--------------------------------------\"); print(\" Vuki_Transporter charged\"); print(\"--------------------------------------\\n\"); return 1; } public OnFilterScriptExit() { return 1; } main() { print(\"\\n----------------------------------\"); print(\" Vuki_Transporter chargé\"); print(\"----------------------------------\\n\"); } public OnPlayerConnect(playerid) { SendClientMessage(playerid, -1, \"This server use Vuki_Transporter.\"); return 1; } public OnVehicleSpawn(vehicleid) { if(GetVehicleModel(vehicleid) == 578) // If it\'s a DFT-30 { objveh[vehicleid][0] = CreateObject(983, 0, 0, 0, 0, 0, 0); objveh[vehicleid][1] = CreateObject(983, 0, 0, 0, 0, 0, 0); objveh[vehicleid][2] = CreateObject(983, 0, 0, 0, 0, 0, 0); objveh[vehicleid][3] = CreateObject(983, 0, 0, 0, 0, 0, 0); objveh[vehicleid][4] = CreateObject(11474, 0, 0, 0, 0, 0, 0); AttachObjectToVehicle(objveh[vehicleid][0], vehicleid, 1.4550000429153, -0.85600000619888, 0.41100001335144, 0, 0, 0); AttachObjectToVehicle(objveh[vehicleid][1], vehicleid, 1.4490000009537, -2.4389998912811, 0.41100001335144, 0, 0, 0); AttachObjectToVehicle(objveh[vehicleid][2], vehicleid, -1.460000038147, -0.86400002241135, 0.41100001335144, 0, 0, 0); AttachObjectToVehicle(objveh[vehicleid][3], vehicleid, -1.4609999656677, -2.4519999027252, 0.41100001335144, 0, 0, 0); AttachObjectToVehicle(objveh[vehicleid][4], vehicleid, -0.068000003695488, -5.7540001869202, 0.38100001215935, 0, 2.5, 5.5); opendoor[vehicleid] = false; } return 1; } public OnVehicleDeath(vehicleid, killerid) { if(GetVehicleModel(vehicleid) ==578) // If it\'s a DFT-30 { DestroyObject(objveh[vehicleid][0]); DestroyObject(objveh[vehicleid][1]); DestroyObject(objveh[vehicleid][2]); DestroyObject(objveh[vehicleid][3]); DestroyObject(objveh[vehicleid][4]); DestroyObject(objveh[vehicleid][5]); DestroyObject(objveh[vehicleid][6]); } return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(\"/ramp\", cmdtext, true, 10) == 0) { new vehicleid = GetPlayerVehicleID(playerid); if(GetVehicleModel(vehicleid) ==578) // If it\'s a DFT-30 { if(!opendoor[vehicleid]) { DestroyObject(objveh[vehicleid][4]); objveh[vehicleid][5] = CreateObject(11474, 0, 0, 0, 0, 0, 0); objveh[vehicleid][6] = CreateObject(11474, 0, 0, 0, 0, 0, 0); AttachObjectToVehicle(objveh[vehicleid][5], vehdft[vehicleid], -0.025000000372529, -6.1770000457764, -0.80699998140335, 58.193572998047, 194.33984375, 166.49182128906); AttachObjectToVehicle(objveh[vehicleid][6], vehdft[vehicleid], 0.037999998778105, -7.3889999389648, -1.5329999923706, 58.189086914063, 194.33715820313, 166.48681640625); opendoor[vehicleid]=true; return 1; } else { DestroyObject(objveh[vehicleid][5]); DestroyObject(objveh[vehicleid][6]); objveh[vehicleid][4] = CreateObject(11474, -0.068000003695488, -5.7540001869202, 0.38100001215935, 0, 2.5, 5.5); // elevator AttachObjectToVehicle(objveh[vehicleid][4], vehdft[vehicleid], -0.068000003695488, -5.7540001869202, 0.38100001215935, 0, 2.5, 5.5); opendoor[vehicleid]=false; } } return 1; } return 0; }
1165
« Dátum: 2013. augusztus 25. - 11:17:56 »
Írhatnál róla
1166
« Dátum: 2013. augusztus 24. - 19:41:37 »
van forumon olyan amivel lehet konvertálni
1167
« Dátum: 2013. augusztus 24. - 10:09:50 »
Ebbe van háza a játékosnak csak ha vesz akkor lesz!! Vagy azt akarod hogy több háza legyen? Mer elég zavaros a szöveg..
1168
« Dátum: 2013. augusztus 24. - 10:07:53 »
Lehet a server.exe 0.3e
1169
« Dátum: 2013. augusztus 23. - 21:15:29 »
Olyan laptopot kell venni amiben 8GB ram van DDR3 títpusú vagy milyen már az vagy DDR4 olyan 4magos proci van benne 3.0GHZ 2GB vidikártya NIvida vagy ATI Radeon HDD 1Terrás Optikai meghajtó: DVD író WiFi Bluetooth ,Akkumulátor: 6 cellás
1170
« Dátum: 2013. augusztus 23. - 20:27:36 »
Kösz . De milyen jó ötletem támadt van itt egy olyan kamcsis mód amiben dialogos a javítás abból kinézem
Oldalak: 1 ... 76 77 [78] 79 80 ... 117
|