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 - Devil112
Oldalak: 1 ... 20 21 [22] 23 24 ... 29
316
« Dátum: 2012. június 12. - 12:44:55 »
Sziasztok. Van egy sürgõsségi rendszer amit csináltam: if(strcmp(cmd, \"/d\", true) == 0 || strcmp(cmd, \"/surgossegi\", true) == 0) { if(IsPlayerConnected(playerid)) { GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= \' \')) { idx++; } new offset = idx; new result[128]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, \"HASZNÁLAT: (/d) [sürgõsségi chat]\"); return 1; } new frakcio[128]; if(PlayerInfo[playerid][pMember] == 1) { frakcio = \"Rendõr\"; } else if(PlayerInfo[playerid][pLeader] == 1) { frakcio = \"Rendõr VezérEzredes\"; } else if(PlayerInfo[playerid][szervTag] == 2) { frakcio = \"Katona\"; } else if(PlayerInfo[playerid][szervLeader] == 2) { frakcio = \"Katona HadseregTábornok\"; } else if(PlayerInfo[playerid][szervTag] == 1) { frakcio = \"SWAT\"; } else if(PlayerInfo[playerid][szervLeader] == 1) { frakcio = \"SWAT Parancsnok\"; } else if(PlayerInfo[playerid][pMember] == 4) { frakcio = \"Mentõs\"; } else if(PlayerInfo[playerid][pLeader] == 4) { frakcio = \"Mentõs Professzor\"; } format(string, sizeof(string), \"[sÜRGÕSSÉGI]%s %s: %s\", frakcio, sendername, result); if (PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pLeader] == 1 && PlayerInfo[playerid][szervTag] == 2 && PlayerInfo[playerid][szervLeader] == 2 && PlayerInfo[playerid][szervTag] == 1 && PlayerInfo[playerid][szervLeader] == 1 && PlayerInfo[playerid][pMember] == 4 && PlayerInfo[playerid][pLeader] == 4) { for(new i; i < MAX_PLAYERS; i++) { if(PlayerInfo[pMember] == 1 && PlayerInfo[pLeader] == 1 && PlayerInfo[szervTag] == 2 && PlayerInfo[szervLeader] == 2 && PlayerInfo[szervTag] == 1 && PlayerInfo[szervLeader] == 1 && PlayerInfo[pMember] == 4 && PlayerInfo[pLeader] == 4) { SendClientMessage(i,COLOR_LIGHTRED,string); } } new nev[32]; GetPlayerName(playerid, nev, sizeof(nev)); new h,mi,s,y,m,d; getdate(y,m,d); gettime(h,mi,s); format(stringx,sizeof(stringx), \"[%d/%d/%d][%d:%d:%d] %s %s sürgõsségibe: %s\",y,m,d,h,mi,s,frakcio,nev,result); LoOoG(stringx); } else SendClientMessage(playerid,COLOR_GRAD2,\"Nem vagy egyetlen egy rendvédelmi frakció tagja sem!\"); } return 1; } Az a baj hogy benne vagyok abba a frakcióba ami használhatja és ezt irja ki folyton: Nem vagy egyetlen egy rendvédelmi frakció tagja sem!
317
« Dátum: 2012. június 12. - 12:34:13 »
Warningos: C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(50409) : warning 217: loose indentation C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(50429) : error 029: invalid expression, assumed zero C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(50430) : warning 217: loose indentation C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(50431) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error.
318
« Dátum: 2012. június 11. - 17:58:50 »
Ugyanugy warning
319
« Dátum: 2012. június 11. - 17:45:20 »
KÖZÖD??? Elég híres a szeró ugyhogy kuss!
320
« Dátum: 2012. június 11. - 16:44:07 »
C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(2273) : error 004: function \"SafeGivePlayerMoney\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(2375) : error 004: function \"SafeGivePlayerMoney\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(2411) : error 004: function \"SafeResetPlayerWeapons\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(2412) : error 004: function \"SafeGivePlayerWeapon\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(2439) : error 004: function \"SafeResetPlayerWeapons\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3200) : error 004: function \"PlayerToPoint\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3212) : error 004: function \"PlayerToPoint\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3216) : error 004: function \"PlayerToPoint\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3228) : error 004: function \"PlayerToPoint\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3239) : error 004: function \"PlayerToPoint\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3243) : error 004: function \"PlayerToPoint\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3247) : error 004: function \"PlayerToPoint\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3259) : error 004: function \"PlayerToPoint\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3263) : error 004: function \"PlayerToPoint\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3267) : error 004: function \"PlayerToPoint\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3792) : error 004: function \"SafeGivePlayerMoney\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(3798) : error 004: function \"Nevekki\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4398) : error 004: function \"SafeGivePlayerMoney\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4446) : error 004: function \"Nevekki\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4449) : error 004: function \"UpdatePlayerPosition2\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4678) : error 004: function \"Nevekbe\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4682) : error 004: function \"Nevekki\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4705) : error 004: function \"ClearChatbox\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4709) : error 004: function \"ClearChatbox\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4721) : error 004: function \"Nevekki\" is not implemented C:\\Users\\user\\Desktop\\Egyebek\\afterlife.pwn(4722) : error 004: function \"SafeResetPlayerWeapons\" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors.
321
« Dátum: 2012. június 11. - 16:18:26 »
Tele van warningal :S
322
« Dátum: 2012. június 11. - 16:04:43 »
Sziasztok. Van egy /sokk rendszerem és meglehet csinálni hogy akkor is müködjön ha szolgálatba vagyok és akkor is ha nem vagyok abba? if(strcmp(cmd, \"/sokk\", true) == 0) { if(PlayerInfo[playerid][pJob] == 27 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 4 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][szervLeader] == 4 || PlayerInfo[playerid][szervTag] == 4 || PlayerInfo[playerid][szervLeader] == 2||PlayerInfo[playerid][szervTag] == 2) { if(IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid, COLOR_GRAD2, \"Kocsiban nem tudsz sokkolni!\"); return 1; } new suspect = GetClosestPlayer(playerid); if(IsPlayerConnected(suspect)) { if(OnDuty[playerid] == 1) { if(GetDistanceBetweenPlayers(playerid,suspect) < 5) { if(IsPlayerInAnyVehicle(suspect)) { SendClientMessage(playerid, COLOR_GRAD2, \"A célszemély kocsiban van, szedd ki elõbb!\"); return 1; } //GetPlayerName(suspect, nev, sizeof(nev)); GetPlayerName(suspect, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(stringx, sizeof(stringx), \"%s lesokkolt 20 másodpercre\", sendername); SendClientMessage(suspect, COLOR_LIGHTBLUE, stringx); format(stringx, sizeof(stringx), \"Sokkoltad %s 20 másodpercre.\", rag(giveplayer,3)); SendClientMessage(playerid, COLOR_LIGHTBLUE, stringx); format(stringx, sizeof(stringx), \"* %s lesokkolja %s.\", sendername ,rag(giveplayer,3)); ProxDetector(30.0, playerid, stringx, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerChatBubble(playerid, \"lesokkolt valakit\", COLOR_PURPLE, 80.0, 10000); GameTextForPlayer(suspect, \"~w~Sokkoltak\", 2500, 3); TogglePlayerControllable(suspect, 0); PlayerCuffed[suspect] = 1; PlayerCuffedTime[suspect] = 30; } else { SendClientMessage(playerid, COLOR_GRAD2, \"Senki sincs a közeledben!\"); return 1; } } else SendClientMessage(playerid,COLOR_GRAD2, \"Nem vagy szolgálatban! /duty\"); } } else { SendClientMessage(playerid, COLOR_GRAD2, \"Nem vagy rendõr / mentõs / katona / swat\"); } return 1; }
323
« Dátum: 2012. június 11. - 09:54:09 »
Sziasztok. Itt van ez a kocsirendszer, hogy lehetne átírni ugy hogy több kocsit is be lehessen rakni úgy hogy ne omoljon össze a kocsirendszer Mert van egy infernusom és lesz belõle egy sultan. Ez csak egy példa volt. //=====================================KOCSIK==================================================== AddStaticVehicleEx(596,-3316.4597,-3309.4749,3.6856,182.2443,44,86, 30000); // Army police 1 !!!/gotobug-on van!!! AddStaticVehicleEx(596,-3319.5088,-3309.6545,3.6871,181.0445,44,86,30000); // Army police 2 !!!/gotobug-on van!!! AddStaticVehicleEx(596,-3322.3020,-3309.7290,3.6847,180.0849,44,86,30000); // Army police 3 !!!/gotobug-on van!!! AddStaticVehicleEx(596,-3325.2202,-3309.8074,3.6854,179.0193,44,86,30000); // Army police 4 !!!/gotobug-on van!!! AddStaticVehicleEx(432,-3318.9561,-3302.1523,3.9617,2.5917,43,0,30000); // Army tank 5 !!!/gotobug-on van!!! AddStaticVehicleEx(470,-3322.8835,-3303.2681,3.9374,358.7531,43,0,30000); // Army patriot 6 !!!/gotobug-on van!!! AddStaticVehicleEx(470,-3325.6206,-3303.2019,3.9324,358.5528,43,0, 30000); // Patriot 7 !!!/gotobug-on van!!! AddStaticVehicleEx(470,-3317.5151,-3295.0537,3.9061,2.9722,43,0, 30000); //Patriot 8 !!!/gotobug-on van!!! AddStaticVehicleEx(433,-3329.0852,-3308.5613,4.4107,357.2659,43,0,30000); // Army truck 9 !!!/gotobug-on van!!! AddStaticVehicleEx(430,-3323.9521,-3295.2720,4.7681,86.3654,-1, -1, 30000); // Army boat 10 !!!/gotobug-on van!!! AddStaticVehicleEx(430,-3337.4355,-3304.1506,4.8847,270.8909,-1, -1, 30000); // Army boat 11 !!!/gotobug-on van!!! //------------------------------------------------------------------------------------------- AddStaticVehicleEx(560,-243.3213,2609.7563,62.4082,180.3929,0,0,0); // Polgi Kocsi 1 ID 12 AddStaticVehicleEx(562,-239.6980,2609.4990,62.6352,180.3496,0,0,0); // Polgi Kocsi 2 ID13 AddStaticVehicleEx(579,-235.9040,2609.4829,62.6337,179.7732,0,0,0); // Polgi Kocsi 3 ID14 AddStaticVehicleEx(409,-259.5606,2607.0889,62.6581,270.2448,0,0,0); // Polgi Limó ID 15 //------------------------------------------------------------------------------------------- AddStaticVehicleEx(523,-1309.6448,2676.7231,49.6127,296.0550,0,0,0); // rendõr motor1 AddStaticVehicleEx(598,-1316.1337,2687.6565,49.8290,297.6866,1,0,0); // Rendõr kocsi1 AddStaticVehicleEx(598,-1314.0398,2684.0569,49.6860,298.3753,1,0,0); // Rendõr kocsi2 AddStaticVehicleEx(598,-1312.0896,2680.4233,49.6865,298.8385,1,0,0); // Rendõr kocsi2 AddStaticVehicleEx(599,-1309.6129,2700.7466,50.2936,209.9881,1,0,0); // Rendõr rancher AddStaticVehicleEx(599,-1313.3999,2699.0625,50.2560,208.9439,1,0,0); // Rendõr rancher2 AddStaticVehicleEx(427,-1269.5552,2692.1865,50.2006,121.1984,1,0,0); // Rendõr szállító1 AddStaticVehicleEx(427,-1259.8748,2698.0735,50.1972,121.1644,1,0,0); // Rendõr szállító2 AddStaticVehicleEx(528,-1254.4448,2711.4468,50.0229,120.8924,1,0,0); // SWAT 1 AddStaticVehicleEx(528,-1250.6150,2704.5430,50.0408,117.8048,1,0,0); // SWAT 2 AddStaticVehicleEx(523,-1307.7666,2672.6838,49.6126,296.9525,0,0,0); // rendõr motor2 AddStaticVehicleEx(497,-1317.3214,2697.7102,55.7167,211.6514,1,0,0); // rendõr helikopter 2 AddStaticVehicleEx(523,-1306.2225,2668.7095,49.6129,297.0988,0,0,0); // rendõr motor3 AddStaticVehicleEx(497,-17.3002,2701.9155,69.6042,208.9111,1,0,0); // Rendõr MÉG SZABAD AddStaticVehicleEx(497,-1386.1078,2652.5520,60.4063,87.4342,0,0,0); // S.W.A.T heliii AddStaticVehicleEx(528,-1399.6132,2646.4387,55.6938,87.3472,0,0,0); // S.W.A.T 1 AddStaticVehicleEx(528,-1399.9791,2642.5671,55.6968,89.9490,0,0,0); // S.W.A.T 2 AddStaticVehicleEx(490,-1399.9886,2639.0015,55.7667,88.6343,0,0,0); // S.W.A.T 3 AddStaticVehicleEx(490,-1400.0586,2635.2578,55.7790,89.8776,0,0,0); // S.W.A.T 4 AddStaticVehicleEx(405,-1400.1473,2631.7844,55.5400,88.8786,0,0,0); // S.W.A.T 5 AddStaticVehicleEx(405,-1400.2219,2628.7571,55.6552,90.1575,0,0,0); // S.W.A.T 6 AddStaticVehicleEx(497,-1386.2303,2641.9604,60.4089,89.0852,0,0,0); // S.W.A.T heli AddStaticVehicleEx(497,-1386.2667,2628.9077,60.4090,89.8636,0,0,0); // S.W.A.T heli AddStaticVehicleEx(427,-1400.3016,2650.3782,55.7905,90.1769,0,0,0); // S.W.A.T Rabszállító AddStaticVehicleEx(497,-3300.9675,-3279.9783,-0.5800,211.0085,1,0,0); // S.W.A.T MÉG SZABAD //------------------------------------------------------------------------------------------- AddStaticVehicleEx(567,-1303.5190,2519.0107,87.1291,181.0393,0,0,0); // TSG savann1 AddStaticVehicleEx(567,-1299.2344,2518.9941,87.1320,180.3069,0,0,0); // TSG savann2 AddStaticVehicleEx(475,-1295.3909,2512.8965,86.8581,178.0066,0,0,0); // TSG kocsi1 //------------------------------------------------------------------------------------------- AddStaticVehicleEx(407,-853.7588,2765.8306,46.1991,185.5798,3,1,0); // tûzoltó 1 AddStaticVehicleEx(407,-849.5889,2766.2380,46.2007,185.4824,3,1,0); // tûzoltó 2 AddStaticVehicleEx(407,-845.0110,2766.6987,46.2027,185.4589,3,1,0); // tûzoltó 3 AddStaticVehicleEx(407,-840.6695,2767.1018,46.2025,185.5797,3,1,0); // tûzoltó 4 AddStaticVehicleEx(544,-836.2031,2766.9197,46.2045,184.1677,3,1,0); // tûzoltó 5 AddStaticVehicleEx(544,-812.3495,2770.0681,46.2280,92.1652,3,1,0); // tûzoltó 6 AddStaticVehicleEx(544,-831.9174,2767.2559,46.2014,184.8350,3,1,0); // tûzoltó 7 AddStaticVehicleEx(490,-827.8072,2768.2854,46.0657,183.2792,3,1,0); // tûzoltó 8 //------------------------------------------------------------------------------------------- AddStaticVehicleEx(416,-1524.1299,2525.9043,55.9046,359.1504,1,0,0); // mentõ1 AddStaticVehicleEx(416,-1520.1207,2526.0076,55.8590,359.6566,1,0,0); // mentõ2 AddStaticVehicleEx(416,-1509.9351,2525.5562,55.8432,359.7514,1,0,0); // mentõ3 AddStaticVehicleEx(416,-1506.7502,2525.6379,55.7988,359.8007,1,0,0); // mentõ4 AddStaticVehicleEx(416,-1503.7068,2525.6304,55.7991,359.9157,1,0,0); // mentõ5 AddStaticVehicleEx(417,-1515.1823,2497.8462,55.9417,273.2204,0,0,0); // mentõhelko //------------------------------------------------------------------------------------------- AddStaticVehicleEx(467,-3292.9822,-3303.5054,3.7042,359.7907,90, -1, 30000); // Hitman oceanic 58 !!!/gotobug-on van!!! //------------------------------------------------------------------------------------------- AddStaticVehicle(431,-3292.6462,-3294.0491,4.0670,359.4488,75,59); // id59 bus !!!/gotobug-on van!!! AddStaticVehicle(431,-3296.0435,-3294.0278,4.0565,359.3624,92,72); // id60 bus !!!/gotobug-on van!!! //------------------------------------------------------------------------------------------- AddStaticVehicleEx(487,-1527.8209,2652.9238,56.4688,83.7031,6,6,0); // taxiheli AddStaticVehicleEx(420,-1533.9077,2626.4363,55.5971,0.2074,6,6,0); // taxi1 AddStaticVehicleEx(420,-1529.8708,2626.5095,55.5964,358.9343,6,6,0); // taxi2 AddStaticVehicleEx(420,-1515.0214,2628.3035,55.5978,89.4944,6,6,0); // taxi3 AddStaticVehicleEx(420,-1522.1563,2628.3652,55.5981,89.4943,6,6,0); // taxi4 AddStaticVehicleEx(420,-1509.5662,2633.2446,55.5959,90.4119,6,6,0); // taxi5 AddStaticVehicleEx(420,-1509.2482,2638.7637,55.5960,90.7753,6,6,0); // taxi6 AddStaticVehicleEx(420,-1515.9669,2642.8508,55.5984,179.6403,6,6,0); // taxi7 AddStaticVehicleEx(420,-1532.4888,2643.7722,55.5979,269.5058,6,6,0); // taxi8 AddStaticVehicleEx(420,-1520.1860,2657.9019,55.5966,180.4877,6,6,0); // taxi9 //------------------------------------------------------------------------------------------- AddStaticVehicleEx(582,-243.5855,2595.0007,62.7374,0.3400,1,1,0); // rádiós1 AddStaticVehicleEx(582,-239.8307,2595.0420,62.7356,1.2155,1,1,0); // rádiós2 AddStaticVehicleEx(582,-236.2558,2595.3391,62.7343,0.1842,1,1,0); // rádiós3 //------------------------------------------------------------------------------------------- AddStaticVehicleEx(525,-233.3091,2724.9685,62.5345,268.9168,1,1,0); // szerelõ 1 AddStaticVehicleEx(525,-243.6160,2738.8789,62.5427,270.3341,1,1,0); // szerelõ 2 AddStaticVehicleEx(525,-209.8672,2738.6235,62.5297,88.4133,1,1,0); // szerelõ 3 AddStaticVehicleEx(525,-200.9467,2738.2166,62.5037,88.3725,1,1,0); // szerelõ 4 //------------------------------------------------------------------------------------------- AddStaticVehicle(462,-1468.6740,2578.1768,55.4325,172.9901,61,0); // id78 kemenysepro motor !!!/gotobug-on van!!! NINCS HOZZÁKÖTVE SEMMIHEZ AddStaticVehicle(462,-1469.8186,2578.1826,55.4564,177.6654,61,0); // id79 kemenysepro motor !!!/gotobug-on van!!! NINCS HOZZÁKÖTVE SEMMIHEZ AddStaticVehicle(462,-1470.9473,2578.1538,55.4498,180.7375,61,0); // id80 kemenysepro motor !!!/gotobug-on van!!! NINCS HOZZÁKÖTVE SEMMIHEZ AddStaticVehicle(462,-1472.1146,2578.1648,55.4499,181.7996,61,0); // id81 kemenysepro motor !!!/gotobug-on van!!! NINCS HOZZÁKÖTVE SEMMIHEZ AddStaticVehicle(571,-3299.0203,-3284.2224,3.3471,355.7278,0,0); // id82 !!!/gotobug-on van!!! NINCS HOZZÁKÖTVE SEMMIHEZ AddStaticVehicleEx(466,-1493.4835,1959.3409,48.0192,0.9685,93,93,0); // katona //-------------------------------------------------------------------------------------------------------- AddStaticVehicleEx(494,-3297.3079,-3309.1721,3.8597,2.3859,1,0,30000); //hotring 84 !!!/gotobug-on van!!! AddStaticVehicleEx(494,-3294.7214,-3309.2319,3.8593,1.5993,1,3,30000); //hotring 85 !!!/gotobug-on van!!! AddStaticVehicleEx(494,-3292.3914,-3309.1514,3.8596,1.8038,0,6,30000); //hotring 86 !!!/gotobug-on van!!! AddStaticVehicleEx(494,-3289.6790,-3309.2585,4.0001,357.8103,1,2,30000); //hotring 87 !!!/gotobug-on van!!! AddStaticVehicleEx(468,-3290.4187,-3290.5999,3.7790,357.3316,6,6,30000); //bike 88 !!!/gotobug-on van!!! AddStaticVehicleEx(468,-3290.5920,-3293.6641,3.7739,184.0443,53,53,30000); //bike 89 !!!/gotobug-on van!!! AddStaticVehicleEx(468,-3289.9209,-3293.6252,3.7757,182.8959,3,3,30000); //bike 90 !!!/gotobug-on van!!! //------------------------------------------------------------------------------------------- AddStaticVehicleEx(482,-282.7787,2688.4321,62.7534,359.8336,12,12,0); // házaló1 AddStaticVehicleEx(482,-278.3766,2688.4299,62.7568,0.9788,12,12,0); // házaló2 AddStaticVehicleEx(482,-280.0130,2671.8911,62.6881,268.7703,12,12,0); // házaló3 AddStaticVehicleEx(482,-270.2428,2672.0581,62.7431,269.8739,12,12,0); // házaló4 AddStaticVehicleEx(482,-270.0401,2676.9077,62.7418,272.8138,12,12,0); // házaló5 //------------------------------------------------------------------------------------------- CreateVehicle(514,-3311.6265,-3302.0505,4.5355,183.7037,40,1,30000); // truck 96 !!!/gotobug-on van!!! CreateVehicle(514,-3314.7009,-3288.8083,4.5142,6.6092,-1,-1,30000); // truck 97 !!!/gotobug-on van!!! CreateVehicle(514,-3316.1326,-3279.2585,4.5382,359.5411,-1,-1,30000); // truck 98 !!!/gotobug-on van!!! CreateVehicle(435,-3315.9304,-3270.4163,4.5304,352.5064,-1,-1,30000); // trailer 99 !!!/gotobug-on van!!! CreateVehicle(435,-3319.5874,-3280.3228,4.5215,0.0201,-1,-1,30000); // trailer 100 !!!/gotobug-on van!!! CreateVehicle(435,-3319.2759,-3270.6731,4.5202,356.5886,-1,-1,30000); // trailer 101 !!!/gotobug-on van!!! //------------------------------------------------------------------------------------------- AddStaticVehicleEx(448,-3311.6265,-3302.0505,4.5355,184.7037,3,6,30000); // PizzaBoy 102 !!!/gotobug-on van!!! AddStaticVehicleEx(448,-3311.6265,-3302.0505,4.5355,186.7037,3,6,30000); // PizzaBoy 103 !!!/gotobug-on van!!! AddStaticVehicleEx(448,-3311.6265,-3302.0505,4.5355,187.7037,3,6,30000); // PizzaBoy 104 !!!/gotobug-on van!!! AddStaticVehicleEx(448,-3311.6265,-3302.0505,4.5355,188.7037,3,6,30000); // PizzaBoy 105 !!!/gotobug-on van!!! AddStaticVehicleEx(448,-3311.6265,-3302.0505,4.5355,189.7037,3,6,30000); // PizzaBoy 106 !!!/gotobug-on van!!! AddStaticVehicleEx(448,-3311.6265,-3302.0505,4.5355,186.7037,3,6,30000); // PizzaBoy 107 !!!/gotobug-on van!!! //------------------------------------------------------------------------------------------- AddStaticVehicleEx(456,-3293.7644,-3256.9622,3.8368,0.9019,-1,-1, 30000); // Component Truck Yankee 108 !!!/gotobug-on van!!! AddStaticVehicleEx(456,-3303.2700,-3256.9883,3.6809,356.9426,-1,-1,30000); // Component Truck Yankee 109 !!!/gotobug-on van!!! AddStaticVehicleEx(440,-3306.0547,-3257.5967,3.6644,0.7590,-1,-1,30000); // Component Truck Rumpo 110 !!!/gotobug-on van!!! AddStaticVehicleEx(440,-3310.2295,-3256.7510,3.6978,358.6752,-1,-1,30000); // Component Truck Rumpo 111 !!!/gotobug-on van!!! //------------------------------------------------------------------------------------------- AddStaticVehicleEx(510,-3331.6123,-3281.9067,3.6538,173.8497,39,39,30000); // Mountain bike 112 !!!/gotobug-on van!!! AddStaticVehicleEx(510,-3330.8911,-3281.6743,3.6501,171.8452,16,16,30000); // Mountain bike 113 !!!/gotobug-on van!!! AddStaticVehicleEx(510,-3332.9307,-3281.9094,3.6604,182.2387,6,6,30000); // Mountain bike 114 !!!/gotobug-on van!!! AddStaticVehicleEx(510,-3336.3306,-3281.8992,3.6375,135.9357,5,5,30000); // Mountain bike 115 !!!/gotobug-on van!!! AddStaticVehicleEx(510,-3333.3315,-3282.2522,3.6511,130.2880,2,2,30000); // Mountain bike 116 !!!/gotobug-on van!!! AddStaticVehicleEx(510,-3338.8879,-3282.3367,3.6507,233.2052,43,43,30000); // Mountain bike 117 !!!/gotobug-on van!!! AddStaticVehicleEx(510,-3338.4136,-3280.5898,3.6554,50.5414,46,46,30000); // Mountain bike 118 !!!/gotobug-on van!!! AddStaticVehicleEx(510,-3336.4124,-3280.8071,3.6561,178.8695,39,39,30000); // Mountain bike 119 !!!/gotobug-on van!!! AddStaticVehicleEx(510,-3337.6436,-3282.5522,3.6866,264.2526,28,28,30000); // Mountain bike 120 !!!/gotobug-on van!!! AddStaticVehicleEx(510,-3334.7153,-3281.5088,3.6655,301.4579,16,16,30000); // Mountain bike 121 !!!/gotobug-on van!!! AddStaticVehicleEx(462,-3324.7153,-3281.5088,3.6655,301.4579,13,13,30000); // Faggio 122 !!!/gotobug-on van!!! AddStaticVehicleEx(462,-3314.7153,-3281.5088,3.6655,309.4579,14,14,30000); // Faggio 123 !!!/gotobug-on van!!! AddStaticVehicleEx(462,-3314.7153,-3281.5088,3.6655,308.4579,1,2,30000); // Bérelhetõ Motor 124 !!!/gotobug-on van!!! AddStaticVehicleEx(462,-3314.7153,-3281.5088,3.6655,307.4579,2,1,30000); // Bérelhetõ Motor 125 !!!/gotobug-on van!!! AddStaticVehicleEx(462,-3314.7153,-3281.5088,3.6655,306.4579,1,3,30000); // Bérelhetõ Motor 126 !!!/gotobug-on van!!! AddStaticVehicleEx(462,-3314.7153,-3281.5088,3.6655,305.4579,3,1,30000); // Bérelhetõ Motor 127 !!!/gotobug-on van!!! AddStaticVehicleEx(462,-3314.7153,-3281.5088,3.6655,304.4579,10,10,30000); // Bérelhetõ Motor 128 !!!/gotobug-on van!!! AddStaticVehicleEx(462,-3314.7153,-3281.5088,3.6655,303.4579,12,12,30000); // Bérelhetõ Motor 129 !!!/gotobug-on van!!! AddStaticVehicleEx(462,-3314.7153,-3281.5088,3.6655,302.4579,13,13,30000); // Bérelhetõ Motor 130 !!!/gotobug-on van!!! //------------------------------------------------------------------------------------------- AddStaticVehicle(445,-3314.7153,-3282.5088,3.6655,301.4579,1,1); // Vizsgakocsi1 (131id) !!!/gotobug-on van!!! AddStaticVehicle(445,-3314.7153,-3283.5088,3.6655,301.4579,1,1); // Vizsgakocsi2 (132id) !!!/gotobug-on van!!! AddStaticVehicleEx(565,-1325.6512,2690.2314,49.6710,119.5867,6,6,0); // tanuló1 AddStaticVehicleEx(565,-1323.3768,2686.3525,49.6704,117.9918,6,6,0); // tanuló2 //------------------------------------------------------------------------------------------- AddStaticVehicleEx(578,-947.7541,2764.9087,46.9109,182.1377,0,0,0); // szállító1 AddStaticVehicleEx(578,-942.3067,2765.0779,46.9113,181.3347,0,0,0); // szállító2 AddStaticVehicleEx(578,-936.8805,2765.0728,46.9114,181.0903,0,0,0); // szállító3 AddStaticVehicleEx(578,-931.6014,2765.2480,46.9109,180.6641,0,0,0); // szállító4 AddStaticVehicleEx(552,-279.0902,2667.1116,62.2780,89.9419,9,9,0); // Villanyszerelõ1 AddStaticVehicleEx(552,-291.1199,2667.1262,62.2953,89.9408,9,9,0); // Villanyszerelõ2 AddStaticVehicleEx(552,-300.2416,2686.9746,62.3471,358.6648,9,9,0); // Villanyszerelõ3 AddStaticVehicleEx(552,-300.3011,2675.4041,62.2857,359.8895,9,9,0); // Villanyszerelõ4 AddStaticVehicleEx(552,-3314.7153,-3283.5088,3.6655,97.1235,9,9,30000); // id:143 Villanyszerelõ kocsi 5 /gotobug AddStaticVehicleEx(552,-3314.7153,-3283.5088,3.6655,85.0857,9,9,30000); // id:144 Villanyszerelõ kocsi 6 /gotobug AddStaticVehicleEx(418,-3314.7153,-3283.5088,3.6655,301.4579,61,61,30000); // Busz 145 /gotobug AddStaticVehicleEx(418,-3314.7153,-3283.5088,3.6655,301.4579,61,61,30000); // Busz 146 /gotobug AddStaticVehicleEx(418,-3300.1050,-3263.4250,3.6701,3.9022,119,119,30000); // Rent car 147 !!!/gotobug-on van!!! NINCS HOZZÁKÖTVE SEMMIHEZ AddStaticVehicleEx(436,-3297.4548,-3263.1333,3.7596,5.7142,92,1,30000); // Rent car 148 !!!/gotobug-on van!!! NINCS HOZZÁKÖTVE SEMMIHEZ AddStaticVehicleEx(436,-3302.7864,-3263.3604,3.6935,8.1692,109,1,30000); // Rent car 149 !!!/gotobug-on van!!! NINCS HOZZÁKÖTVE SEMMIHEZ AddStaticVehicleEx(542,-1307.5596,2511.8672,86.8164,178.4285,0,0,0); // TSG kocsi2 AddStaticVehicleEx(535,-1311.2843,2511.4763,86.8162,180.2527,0,0,0); // TSG Slamvan AddStaticVehicleEx(412,-1308.5620,2496.2920,86.7704,266.8853,0,0,0); // TSG nemtommi AddStaticVehicleEx(554,-1282.4329,2514.7642,87.1840,184.5190,0,0,0); // TSG Rancher AddStaticVehicleEx(412,-1308.5709,2488.5537,86.8178,269.2657,0,0,0); // TSG nemtommi2 //------------------------------------------------------------------------------------------- AddStaticVehicleEx(481,-248.4588470459,2712.0092773438,62.38334274292,90,61,1,0); // Postásbicó 1 (ID155) AddStaticVehicleEx(481,-248.39572143555,2712.9155273438,62.38334274292,90,61,1,0); // Postásbicó 1 (ID156) AddStaticVehicleEx(481,-248.40432739258,2713.7861328125,62.38334274292,90,61,1,0); // Postásbicó 1 (ID157) AddStaticVehicleEx(481,-248.43307495117,2714.6208496094,62.38334274292,90,61,1,0); // Postásbicó 1 (ID158) //------------------------------------------------------------------------------------------- AddStaticVehicleEx(499,-297.6848,2661.9651,62.7023,359.2426,0,95,0); // bútorszállító 1 AddStaticVehicleEx(499,-305.7285,2661.8086,62.7390,0.4004,0,95,0); // bútorszállító 2 AddStaticVehicleEx(499,-309.6036,2661.7073,62.7611,0.8897,0,95,0); // bútorszállító 3 AddStaticVehicleEx(499,-313.2047,2661.5952,62.8322,1.0147,0,95,0); // bútorszállító 4 //------------------------------------------------------------------------------------------- AddStaticVehicleEx(437,-3296.9719,-3270.3379,3.6605,7.0275,61,61,30000); // 163 !!!/gotobug-on van!!! AddStaticVehicleEx(437,-3296.9719,-3270.3379,3.6605,7.0275,61,61,30000); // 164 !!!/gotobug-on van!!! AddStaticVehicleEx(437,-3296.9719,-3270.3379,3.6605,7.0275,61,61,30000); // 165 !!!/gotobug-on van!!! //------------------------------------------------------------------------------------------- AddStaticVehicleEx(407,-3315.0776,-3287.0476,4.4882,1.1908,3,1,30000); // FireTruck 166 !!!/gotobug-on van!!! //------------------------------------------------------------------------------------------- AddStaticVehicleEx(487,-3323.7529,-3275.1091,4.0957,196.7274,84,84,30000); // School Helicopter 167 !!!/gotobug-on van!!! //------------------------------------------------------------------------------------------- AddStaticVehicleEx(487,-261.0810,2598.1433,69.7176,83.9282,0,0,0); // Polgi heli 168 !!!/gotobug-on van!!! //------------------------------------------------------------------------------------------- AddStaticVehicleEx(574,-1525.0232,2575.5100,55.5445,180.0265,103,2,0); // Úttisztító 3 AddStaticVehicleEx(574,-1516.6041,2568.0344,55.5445,90.5021,103,2,0); // Úttisztító 4 AddStaticVehicleEx(574,-1520.4939,2567.9854,55.5445,89.6412,103,2,0); // Úttisztító 5 //------------------------------------------------------------------------------------------- AddStaticVehicleEx(574,-1524.2902,2567.9971,55.5444,90.1686,103,2,0); // Úttisztító 6 AddStaticVehicleEx(578,-956.4761,2744.6929,46.9107,276.7916,1,0,0); // szállító5 AddStaticVehicleEx(578,-955.8984,2738.9900,46.9104,275.9543,1,0,0); // szállító6 AddStaticVehicleEx(578,-955.4542,2734.4050,46.9102,274.6342,1,0,0); // szállító7 AddStaticVehicleEx(578,-955.0643,2729.8521,46.9102,274.7665,1,0,0); // szállító8 AddStaticVehicleEx(574,-1528.1743,2567.9434,55.5442,90.5890,103,2,0); // Úttisztító 7 AddStaticVehicleEx(416,-1528.3574,2525.8872,55.8767,1.8948,1,1,0); // mentõ valamennyi AddStaticVehicleEx(409,-343.2714,1542.1492,75.3312,180.3844,0,0,0); // id 179 Cosa limuzin AddStaticVehicleEx(412,-1671.1024,2493.2974,86.9015,269.2158,86,86,0); // grove1 AddStaticVehicleEx(412,-1671.1699,2496.4680,86.8945,270.8641,86,86,0); // grove2 AddStaticVehicleEx(468,-1673.1125,2478.9009,86.8221,266.8976,86,86,0); // grove3 AddStaticVehicleEx(468,-1669.6833,2478.8645,86.8577,274.0052,86,86,0); // grove4 AddStaticVehicleEx(492,-1661.5719,2483.8616,86.8554,0.0860,86,86,0); // grove5 AddStaticVehicleEx(492,-1657.6454,2483.7625,86.8339,356.2617,86,86,0); // grove6 AddStaticVehicleEx(470,220.7119,1919.9247,17.3405,181.3406,93,93,0); // katona 1 AddStaticVehicleEx(470,211.7057,1920.5027,17.1329,178.2305,93,93,0); // katona 2 AddStaticVehicleEx(470,202.3882,1920.3387,17.5308,177.7535,93,93,0); // katona 3 AddStaticVehicleEx(470,193.4664,1920.5325,17.2090,179.4482,93,93,0); // katona 4 AddStaticVehicleEx(433,197.8603,1879.2086,18.0512,359.3007,93,93,0); // katona 5 AddStaticVehicleEx(548,225.6026,1885.5146,19.1392,27.6239,93,93,0); // katona 6 AddStaticVehicleEx(448,-220.4796,2687.5652,62.3188,0.3222,61,0,0); // pizzásmoci1 AddStaticVehicleEx(448,-218.8137,2687.5330,62.3188,0.5229,61,0,0); // pizzásmoci2 AddStaticVehicleEx(448,-217.0749,2687.4507,62.3181,357.5577,61,0,0); // pizzásmoci3 AddStaticVehicleEx(448,-215.2201,2687.4275,62.3188,1.0268,61,0,0); // pizzásmoci4 AddStaticVehicleEx(448,-213.5228,2687.4307,62.3185,359.1176,61,0,0); // pizzásmoci5 AddStaticVehicleEx(448,-211.5115,2687.4314,62.3183,2.3486,61,0,0); // pizzásmoci6 AddStaticVehicleEx(574,-1524.9972,2583.2383,55.5444,179.3975,103,2,0); // Úttisztító 1 AddStaticVehicleEx(574,-1525.0038,2579.2954,55.5444,179.4575,103,2,0); // Úttisztító 2
324
« Dátum: 2012. június 09. - 22:00:11 »
beteszek egy PWN fájlt az npcmodes-ba és onnan h, kell tovább?
325
« Dátum: 2012. június 09. - 20:59:09 »
Warningos az egész :S
326
« Dátum: 2012. június 09. - 11:47:53 »
public OnPlayerExitVehicle(playerid, vehicleid) { if(vehicleid >= 131 && vehicleid <= 134) // vizsgakocsi { Msg(playerid,\"[Oktató]: Kiszállt a kocsiból, így megbukott a vizsgán\"); DrivingStep[playerid] = 0; TakingForgalmi[playerid] = 0; TakingRutin[playerid] = 0; SetVehicleToRespawn(GetPlayerVehicleID(playerid)); DisablePlayerRaceCheckpoint(playerid); } if (GetPlayerState(playerid) == 1) { return 1; } new playerState = GetPlayerState(playerid); if (playerState == PLAYER_STATE_DRIVER) { if(IsAnOwnableCar(vehicleid)) { if(vehicleid == PlayerInfo[playerid][pPcarkey] || vehicleid == PlayerInfo[playerid][pPcarkey2] || vehicleid == PlayerInfo[playerid][kolcsonkocsikulcs]) { /*new Float:x,Float:y,Float:z; new Float:a; GetVehiclePos(vehicleid, x, y, z); GetVehicleZAngle(vehicleid, a); CarInfo[vehicleid][cLocationx] = x; CarInfo[vehicleid][cLocationy] = y; CarInfo[vehicleid][cLocationz] = z; CarInfo[vehicleid][cAngle] = a; //SetVehiclePos(vehicleid, x, y, z+2); //SetVehicleZAngle(vehicleid, a); //OnPropUpdate();*/ new Float:health; new Float:x,Float:y,Float:z; new Float:a; new carid; carid = GetPlayerVehicleID(playerid); GetVehicleHealth(carid, health); GetVehiclePos(carid, x, y, z); GetPlayerFacingAngle(playerid, a); GetVehicleZAngle(carid, a); CarInfo[carid][cLocationx] = x; CarInfo[carid][cLocationy] = y; CarInfo[carid][cLocationz] = z; CarInfo[carid][cAngle] = a; SaveCarCoords(); OnPlayerUpdate(playerid); DestroyVehicle(carid); CreateVehicle(CarInfo[carid][cModel],CarInfo[carid][cLocationx],CarInfo[carid][cLocationy]+1.0,CarInfo[carid][cLocationz]+1.0,CarInfo[carid][cAngle],CarInfo[carid][cColorOne],CarInfo[carid][cColorTwo],-1); SetVehicleHealth(carid, health); new string[20]; format(string, sizeof(string), \"ALR-%d\", carid); SetVehicleNumberPlate(carid, string); AddVehicleComponent(carid,CarInfo[carid][cKerek]); ChangeVehiclePaintjob(carid, CarInfo[carid][cPaintjob]-1); AddVehicleComponent(carid,CarInfo[carid][cKinezet1]); AddVehicleComponent(carid,CarInfo[carid][cKinezet2]); AddVehicleComponent(carid,CarInfo[carid][cKinezet3]); AddVehicleComponent(carid,CarInfo[carid][cKinezet4]); AddVehicleComponent(carid,CarInfo[carid][cKinezet5]); AddVehicleComponent(carid,CarInfo[carid][cKinezet6]); AddVehicleComponent(carid,CarInfo[carid][cKinezet7]); AddVehicleComponent(carid,CarInfo[carid][cKinezet8]); AddVehicleComponent(carid,CarInfo[carid][cKinezet9]); AddVehicleComponent(carid,CarInfo[carid][cKinezet10]); AddVehicleComponent(carid,CarInfo[carid][cNitro]); AddVehicleComponent(carid,CarInfo[carid][cHidraulika]); } } }
327
« Dátum: 2012. június 09. - 10:28:41 »
public OnPlayerExitVehicle(playerid, vehicleid)
328
« Dátum: 2012. június 09. - 10:22:30 »
És nem lehet kiszedni? Elég zavaró hogy kiszállok és a fejem fölé megy a kocsi. Meg ott marad. :S
329
« Dátum: 2012. június 09. - 10:14:22 »
Sziasztok. Miért van az hogy folyton ha kiszállok a saját autómbol lespawnol oda?
330
« Dátum: 2012. június 09. - 09:51:44 »
Sziasztok. Hogy lehet álló NPC-t berakni egy szerverre? Ne mozogjon csak álljon egyhelybe..
Oldalak: 1 ... 20 21 [22] 23 24 ... 29
|