06.02.2014, 10:45
I create a map, i added RemoveBuildForPlayer lines to my gamemode but objects isn't removed. Now i deleted my remove and i ask sa-mp com for help.
Who can transform this lines in other, same, but with a remove line added (where i can add my lines).
This is OnPlayerConnect lines:
Please don't tell add after OnPlayerConnect or other, i tried but nothing. Give me the lines with a remove added. Thanks.
Who can transform this lines in other, same, but with a remove line added (where i can add my lines).
This is OnPlayerConnect lines:
Код:
public OnPlayerConnect(playerid) { if(Security != 0) { SCM(playerid, COLOR_YELLOW, "Host has broken one of the Agreement rules, action has been taken."); Kick(playerid); return 1; } if(IsPlayerNPC(playerid)) return 1; ShowInfo[ playerid ] = TextDrawCreate(18.000000, 145.000000, "_"); TextDrawBackgroundColor(ShowInfo[ playerid ], 255); TextDrawFont(ShowInfo[ playerid ], 1); TextDrawLetterSize(ShowInfo[ playerid ], 0.370000, 1.400000); TextDrawColor(ShowInfo[ playerid ], -1); TextDrawSetOutline(ShowInfo[ playerid ], 0); TextDrawSetProportional(ShowInfo[ playerid ], 1); TextDrawSetShadow(ShowInfo[ playerid ], 1); TextDrawUseBox(ShowInfo[ playerid ], 1); TextDrawBoxColor(ShowInfo[ playerid ], 0x00000085); TextDrawTextSize(ShowInfo[ playerid ], 252.000000, -10.000000); IsInShop[playerid] = 0; KeyTimer[playerid] = -1; wait[playerid] = 0; count1[playerid] = 0; HasBoughtNewSkin[playerid] = 0; LastPos[playerid][0] = 0; LastPos[playerid][1] = 0; LastPos[playerid][2] = 0; LastPos[playerid][3] = 0; LastInterior[playerid] = 0; LastVW[playerid] = 0; LastSkin[playerid] = 0; TextdrawActive[playerid] = 0; Skin[playerid] = 0; IsDead[playerid] = 0; //TextDrawShowForPlayer(playerid, Textdraw187); TextDrawShowForPlayer(playerid, Textdraw188); TextDrawShowForPlayer(playerid, Textdraw189); //TextDrawShowForPlayer(playerid, Textdraw190); //TextDrawShowForPlayer(playerid, Textdraw191); TextDrawShowForPlayer(playerid, Textdraw192); /*TextDrawShowForPlayer(playerid, Textdraw193); TextDrawShowForPlayer(playerid, Textdraw194); TextDrawShowForPlayer(playerid, Textdraw195); TextDrawShowForPlayer(playerid, Textdraw196); TextDrawShowForPlayer(playerid, Textdraw197); TextDrawShowForPlayer(playerid, Textdraw198); TextDrawShowForPlayer(playerid, Textdraw199); TextDrawShowForPlayer(playerid, Textdraw200); TextDrawShowForPlayer(playerid, Textdraw201);*/ //TextDrawShowForPlayer(playerid, Textdraw202); TogglePlayerSpectating(playerid,1); SetVehicleNumberPlate(car1, "ls 01 amd"); SetVehicleNumberPlate(car2, "ls 02 shd"); SetVehicleNumberPlate(car3, "lv 03 wwe"); SetVehicleNumberPlate(car4, "lv 04 www"); SetVehicleNumberPlate(car5, "lv 05 maw"); SetVehicleNumberPlate(car6, "lv 06 mdw"); SetVehicleNumberPlate(car7, "sf 07 mbg"); SetVehicleNumberPlate(car8, "sf 08 dsf"); SetVehicleNumberPlate(car9, "sf 09 yyh"); SetVehicleNumberPlate(car10, "sf 10 bbg"); SetVehicleNumberPlate(car11, "sf 11 htd"); SetVehicleNumberPlate(car12, "ls 12 fev"); SetVehicleNumberPlate(car13, "ls 13 wwe"); SetVehicleNumberPlate(car14, "ls 14 xve"); SetVehicleNumberPlate(car15, "ls 15 maw"); SetVehicleNumberPlate(car16, "sf 16 ffg"); SetVehicleNumberPlate(car17, "sf 17 kyt"); SetVehicleNumberPlate(car18, "sf 18 bbq"); SetVehicleNumberPlate(car19, "sf 19 wwf"); SetVehicleNumberPlate(car20, "sf 20 ppo"); SetVehicleNumberPlate(car21, "sf 21 uug"); SetVehicleNumberPlate(car22, "ls 22 hgg"); SetVehicleNumberPlate(car23, "ls 23 ana"); SetVehicleNumberPlate(car24, "ls 24 lao"); SetVehicleNumberPlate(car25, "ls 25 mar"); SetVehicleNumberPlate(car26, "ls 26 bog"); SetVehicleNumberPlate(car27, "ls 27 ako"); SetVehicleNumberPlate(car28, "ls 28 fro"); SetVehicleNumberPlate(car29, "ls 29 geo"); SetVehicleNumberPlate(car30, "ls 30 bdg"); SetVehicleNumberPlate(car31, "lv 31 amx"); SetVehicleNumberPlate(car32, "lv 32 pwn"); SetVehicleNumberPlate(car33, "lv 33 pee"); SetVehicleNumberPlate(car34, "lv 34 see"); SetVehicleNumberPlate(car35, "lv 35 mee"); SetVehicleNumberPlate(car36, "lv 36 jee"); SetVehicleNumberPlate(car37, "ls 37 mii"); SetVehicleNumberPlate(car38, "ls 38 dol"); SetVehicleNumberPlate(car39, "ls 39 bal"); SetVehicleNumberPlate(car40, "ls 40 dol"); SetVehicleNumberPlate(car41, "ls 41 aug"); SetVehicleNumberPlate(car42, "ls 42 jjf"); SetVehicleNumberPlate(car43, "ls 43 dju"); SetVehicleNumberPlate(car44, "ls 44 duu"); SetVehicleNumberPlate(car45, "ls 45 brr"); SetVehicleNumberPlate(car46, "ls 46 kee"); SetVehicleNumberPlate(car47, "ls 47 buu"); SetVehicleNumberPlate(car48, "ls 48 lwd"); SetVehicleNumberPlate(car49, "ls 49 igg"); SetVehicleNumberPlate(car50, "ls 50 nbg"); SetVehicleNumberPlate(car51, "ls 51 brr"); SetVehicleNumberPlate(car52, "ls 52 kee"); SetVehicleNumberPlate(car53, "ls 53 buu"); SetVehicleNumberPlate(car54, "ls 54 lwd"); SetVehicleNumberPlate(car55, "ls 55 igg"); SetVehicleNumberPlate(car56, "sf 56 ire"); SetVehicleNumberPlate(car57, "ls 57 oos"); SetVehicleNumberPlate(car58, "ls 58 lld"); SetVehicleNumberPlate(car59, "ls 59 awo"); SetVehicleNumberPlate(car60, "ls 60 bbq"); SetVehicleNumberPlate(car61, "sf 61 lla"); SetVehicleNumberPlate(car62, "sf 62 awq"); SetVehicleNumberPlate(car63, "sf 63 bpl"); SetVehicleNumberPlate(car64, "sf 64 tax"); SetVehicleNumberPlate(car65, "sf 65 xat"); SetVehicleNumberPlate(car66, "sf 66 atx"); SetVehicleNumberPlate(car67, "sf 67 xta"); SetVehicleNumberPlate(car68, "ls 68 lxa"); SetVehicleNumberPlate(car69, "ls 69 kka"); SetVehicleNumberPlate(car70, "ls 70 vvv"); SetVehicleNumberPlate(car71, "ls 71 jja"); SetVehicleNumberPlate(car72, "ls 72 kka"); SetVehicleNumberPlate(car73, "ls 73 wwc"); SetVehicleNumberPlate(car74, "ls 74 ttb"); SetVehicleNumberPlate(car75, "sf 75 ffa"); SetVehicleNumberPlate(car76, "sf 76 her"); SetVehicleNumberPlate(car77, "sf 77 aiv"); SetVehicleNumberPlate(car78, "ls 78 aic"); SetVehicleNumberPlate(car79, "ls 79 ala"); SetVehicleNumberPlate(car80, "ls 80 pop"); SetVehicleNumberPlate(car81, "ls 81 hai"); SetVehicleNumberPlate(car82, "sf 82 amd"); SetVehicleNumberPlate(car83, "sf 83 shd"); SetVehicleNumberPlate(car84, "sf 84 wwe"); SetVehicleNumberPlate(car85, "sf 85 www"); SetVehicleNumberPlate(car86, "ls 86 maw"); SetVehicleNumberPlate(car87, "ls 87 mdw"); SetVehicleNumberPlate(car88, "ls 88 mbg"); SetVehicleNumberPlate(car89, "ls 89 dsf"); SetVehicleNumberPlate(car90, "ls 90 yyh"); SetVehicleNumberPlate(car91, "ls 91 cry"); SetVehicleNumberPlate(car92, "ls 92 cny"); SetVehicleNumberPlate(car93, "ls 93 crb"); SetVehicleNumberPlate(car94, "ls 94 htr"); SetVehicleNumberPlate(car95, "ls 95 grr"); SetVehicleNumberPlate(car96, "ls 96 awa"); SetVehicleNumberPlate(car97, "ls 97 bhb"); SetVehicleNumberPlate(car98, "ls 98 ggh"); SetVehicleNumberPlate(car99, "ls 99 hjq"); SetVehicleNumberPlate(car100, "ls 100 hys"); SetVehicleNumberPlate(car101, "ls 101 vaz"); SetVehicleNumberPlate(car102, "sf 102 pet"); SetVehicleNumberPlate(car103, "sf 103 sar"); SetVehicleNumberPlate(car104, "sf 104 oae"); SetVehicleNumberPlate(car105, "sf 105 val"); SetVehicleNumberPlate(car106, "sf 106 mal"); SetVehicleNumberPlate(car107, "sf 107 unt"); SetVehicleNumberPlate(car108, "sf 108 ust"); SetVehicleNumberPlate(car109, "sf 109 car"); SetVehicleNumberPlate(car110, "sf 110 bnu"); SetVehicleNumberPlate(car111, "sf 111 cfm"); SetVehicleNumberPlate(car112, "sf 112 ved"); SetVehicleNumberPlate(car113, "sf 113 nuj"); SetVehicleNumberPlate(car114, "sf 114 bne"); SetVehicleNumberPlate(car115, "sf 115 aha"); SetVehicleNumberPlate(car116, "sf 116 nuu"); SetVehicleNumberPlate(car117, "sf 117 daa"); SetVehicleNumberPlate(car118, "sf 118 wow"); SetVehicleNumberPlate(car119, "sf 119 uou"); SetVehicleNumberPlate(car120, "sf 120 yos"); SetVehicleNumberPlate(car121, "sf 121 lss"); SetVehicleNumberPlate(car122, "sf 122 lls"); SetVehicleNumberPlate(car123, "ls 123 vvf"); SetVehicleNumberPlate(car124, "ls 124 iif"); SetVehicleNumberPlate(car125, "ls 125 ssl"); SetVehicleNumberPlate(car126, "ls 126 mhn"); SetVehicleNumberPlate(car127, "ls 127 jhn"); SetVehicleNumberPlate(car128, "ls 128 jhj"); SetVehicleNumberPlate(car129, "ls 129 asa"); SetVehicleNumberPlate(car130, "ls 130 sso"); SetVehicleNumberPlate(car131, "sf 131 yos"); SetVehicleNumberPlate(car132, "sf 132 lss"); SetVehicleNumberPlate(car133, "sf 133 lls"); SetVehicleNumberPlate(car134, "sf 134 vvf"); SetVehicleNumberPlate(car135, "ls 135 iif"); SetVehicleNumberPlate(car136, "ls 136 ssl"); SetVehicleNumberPlate(car137, "ls 137 mhn"); SetVehicleNumberPlate(car138, "ls 138 jhn"); SetVehicleNumberPlate(car139, "sf 139 jhj"); SetVehicleNumberPlate(car140, "sf 140 sso"); SetVehicleNumberPlate(car141, "sf 141 ala"); SetVehicleNumberPlate(car142, "sf 142 cum"); SetVehicleNumberPlate(car143, "sf 143 aea"); SetVehicleNumberPlate(car144, "ls 144 ast"); SetVehicleNumberPlate(car145, "ls 145 aci"); SetVehicleNumberPlate(car146, "ls 146 aif"); SetVehicleNumberPlate(car147, "ls 147 sam"); SetVehicleNumberPlate(car148, "ls 148 ice"); SetVehicleNumberPlate(car149, "ls 149 nua"); SetVehicleNumberPlate(car150, "ls 150 ata"); SetVehicleNumberPlate(car151, "lv 151 yos"); SetVehicleNumberPlate(car152, "lv 152 lss"); SetVehicleNumberPlate(car153, "lv 153 lls"); SetVehicleNumberPlate(car154, "sf 154 vvf"); SetVehicleNumberPlate(car155, "sf 155 iif"); SetVehicleNumberPlate(car156, "sf 156 ssl"); SetVehicleNumberPlate(car157, "sf 157 mhn"); SetVehicleNumberPlate(car158, "sf 158 jhn"); SetVehicleNumberPlate(car159, "sf 159 jhj"); SetVehicleNumberPlate(car160, "sf 160 sso"); SetVehicleNumberPlate(car161, "sf 161 sum"); SetVehicleNumberPlate(car162, "sf 162 con"); SetVehicleNumberPlate(car163, "sf 163 tae"); SetVehicleNumberPlate(car164, "ls 164 fap"); SetVehicleNumberPlate(car165, "ls 165 jea"); SetVehicleNumberPlate(car166, "ls 166 ide"); SetVehicleNumberPlate(car167, "ls 167 ama"); SetVehicleNumberPlate(car168, "sf 168 ces"); SetVehicleNumberPlate(car169, "sf 169 mai"); SetVehicleNumberPlate(car170, "sf 170 ata"); SetVehicleNumberPlate(car171, "sf 171 ait"); SetVehicleNumberPlate(car172, "8-track"); SetVehicleNumberPlate(car173, "8-track"); SetVehicleNumberPlate(car174, "8-track"); SetVehicleNumberPlate(car175, "8-track"); SetVehicleNumberPlate(car176, "kickstart"); SetVehicleNumberPlate(car177, "kickstart"); SetVehicleNumberPlate(car178, "kickstart"); SetVehicleNumberPlate(car179, "kickstart"); SetVehicleNumberPlate(car180, "ls 180 peu"); SetVehicleNumberPlate(car181, "ls 181 amn"); SetVehicleNumberPlate(car182, "ls 182 doi"); SetVehicleNumberPlate(car183, "ls 183 hai"); SetVehicleNumberPlate(car184, "ls 184 lab"); SetVehicleNumberPlate(car185, "sf 185 mue"); SetVehicleNumberPlate(car186, "sf 186 vai"); SetVehicleNumberPlate(car187, "sf 187 nui"); SetVehicleNumberPlate(car188, "sf 188 sta"); SetVehicleNumberPlate(car189, "sf 189 dan"); SetVehicleNumberPlate(car190, "sf 190 ana"); SetVehicleNumberPlate(car191, "sf 191 lkl"); SetVehicleNumberPlate(car192, "ls 192 ljk"); SetVehicleNumberPlate(car193, "ls 193 khj"); SetVehicleNumberPlate(car194, "ls 194 jhg"); SetVehicleNumberPlate(car195, "ls 195 gfd"); SetVehicleNumberPlate(car196, "ls 196 dsa"); SetVehicleNumberPlate(car197, "ls 197 jhg"); SetVehicleNumberPlate(car198, "ls 198 gfd"); SetVehicleNumberPlate(car199, "ls 199 dsa"); SetVehicleNumberPlate(car200, "ls 200 jhg"); SetVehicleNumberPlate(car201, "ls 201 gfd"); SetVehicleNumberPlate(car202, "ls 202 dsa"); SetVehicleNumberPlate(car203, "ls 203 gfd"); SetVehicleNumberPlate(car204, "ls 204 dsa"); SetVehicleNumberPlate(car205, "lv 205 gdf"); SetVehicleNumberPlate(car206, "lv 206 jgh"); SetVehicleNumberPlate(car207, "lv 207 tyu"); SetVehicleNumberPlate(car208, "lv 208 qwr"); SetVehicleNumberPlate(car209, "ls 209 qhr"); SetVehicleNumberPlate(car210, "ls 210 hhf"); SetVehicleNumberPlate(car211, "ls 211 ppo"); SetVehicleNumberPlate(car212, "ls 212 dsa"); SetVehicleNumberPlate(car213, "ls 213 gfd"); SetVehicleNumberPlate(car214, "ls 214 dsa"); SetVehicleNumberPlate(car215, "ls 215 gdf"); SetVehicleNumberPlate(car216, "ls 216 jgh"); SetVehicleNumberPlate(car217, "ls 217 tyu"); SetVehicleNumberPlate(car218, "ls 218 qwr"); SetVehicleNumberPlate(car219, "ls 219 qhr"); SetVehicleNumberPlate(car220, "ls 220 hhf"); SetVehicleNumberPlate(car221, "ls 221 ppo"); SetVehicleNumberPlate(car221, "ls 221 gfd"); SetVehicleNumberPlate(car222, "ls 222 dsa"); SetVehicleNumberPlate(car223, "ls 223 gfd"); SetVehicleNumberPlate(car224, "ls 224 dsa"); SetVehicleNumberPlate(car225, "ls 225 gdf"); SetVehicleNumberPlate(car226, "ls 226 jgh"); SetVehicleNumberPlate(car227, "ls 227 tyu"); SetVehicleNumberPlate(car228, "ls 228 ljf"); SetVehicleNumberPlate(car229, "ls 229 hjk"); SetVehicleNumberPlate(car230, "ls 230 ggt"); SetVehicleNumberPlate(car231, "sf 231 ljf"); SetVehicleNumberPlate(car232, "sf 232 hjk"); SetVehicleNumberPlate(car233, "sf 233 fhg"); SetVehicleNumberPlate(car234, "ls 234 llo"); SetVehicleNumberPlate(car235, "sf 235 hhf"); SetVehicleNumberPlate(car236, "sf 236 jky"); SetVehicleNumberPlate(car237, "sf 237 awf"); SetVehicleNumberPlate(car238, "sf 238 hhf"); SetVehicleNumberPlate(car239, "sf 239 jky"); SetVehicleNumberPlate(car240, "sf 240 awf"); SetVehicleNumberPlate(car241, "sf 241 hhf"); SetVehicleNumberPlate(car242, "sf 242 jky"); SetVehicleNumberPlate(car243, "sf 243 awf"); SetVehicleNumberPlate(car244, "ls 244 hhf"); SetVehicleNumberPlate(car245, "ls 245 eet"); SetVehicleNumberPlate(car246, "ls 246 ggr"); SetVehicleNumberPlate(car247, "ls 247 hhr"); SetVehicleNumberPlate(car248, "ls 248 www"); SetVehicleNumberPlate(car249, "ls 249 wfa"); SetVehicleNumberPlate(car250, "ls 250 civ"); SetVehicleNumberPlate(car251, "ls 251 civ"); SetVehicleNumberPlate(car252, "ls 252 civ"); SetVehicleNumberPlate(car253, "ls 253 civ"); SetVehicleNumberPlate(car254, "ls 254 civ"); SetVehicleNumberPlate(car255, "ls 255 civ"); SetVehicleNumberPlate(car256, "ls 256 civ"); SetVehicleNumberPlate(car257, "ls 257 civ"); SetVehicleNumberPlate(car258, "ls 258 civ"); SetVehicleNumberPlate(car259, "ls 259 civ"); SetVehicleNumberPlate(car260, "ls 260 civ"); SetVehicleNumberPlate(car261, "ls 261 civ"); SetVehicleNumberPlate(car262, "ls 262 civ"); SetVehicleNumberPlate(examc, "School"); SetVehicleNumberPlate(examc2, "School2"); SetVehicleNumberPlate(examc3, "School3"); CreateDynamicMapIcon(-2624.8635,1412.7168,7.0938, 48, 0, -1, -1, -1, 300.0 );// jizzy CreateDynamicMapIcon(1478.0193,-1754.8229,16.7881, 56 ,0, -1, -1, -1, 300.0 );// Icon City Hall CreateDynamicMapIcon(328.0271,-1513.3801,36.0391, 55,0, -1, -1, -1, 300.0 );// Icon examen CreateDynamicMapIcon(1173.2563,-1323.3102,15.3943, 22,0, -1, -1, -1, 300.0 );// Icon hospital ls CreateDynamicMapIcon(2029.5945,-1404.6426,17.2512, 22,0, -1, -1, -1, 300.0 );// Icon hospital sf CreateDynamicMapIcon(-2656.9333,634.5833,14.4531, 20,0, -1, -1, -1, 300.0 );// Icon fireman CreateDynamicMapIcon(-2034.3534,148.6218,28.8359, 17,0, -1, -1, -1, 300.0 );// 24/7 gara sf CreateDynamicMapIcon(1352.3514,-1759.2441,13.5078, 17,0, -1, -1, -1, 300.0 );// 24/7 de langa primarie ls CreateDynamicMapIcon(1833.7604,-1842.6782,13.5781, 17,0, -1, -1, -1, 300.0 );// 24/7 de langa gara ls CreateDynamicMapIcon(1315.4569,-897.6846,39.5781, 17,0, -1, -1, -1, 300.0 );// 24/7 de langa banca ls CreateDynamicMapIcon(1000.5775,-919.8569,42.3281, 17,0, -1, -1, -1, 300.0 );// 24/7 de langa cnn ls CreateDynamicMapIcon(-1562.6038,-2733.0261,48.7435, 17,0, -1, -1, -1, 300.0 );// 24/7 mai departe de chilliad CreateDynamicMapIcon(1837.0098,-1682.3522,13.3241, 48,0, -1, -1, -1, 300.0 );// dance club ls CreateDynamicMapIcon(1199.1852,-918.1541,43.1236, 10,0, -1, -1, -1, 300.0 );// burger de langa banca //CreateDynamicMapIcon(1709.2144,-1864.0331,13.7482, 48,0, -1, -1, -1, 300.0 );// Caligulas Casino CreateDynamicMapIcon(1107.1788,-1158.9608,23.8281, 48,0, -1, -1, -1, 300.0 );// lil' probe inn ls CreateDynamicMapIcon(1022.4377,-1121.4470,23.8700, 48,0, -1, -1, -1, 300.0 );// 4 dragons casion CreateDynamicMapIcon(-2172.4468,251.7754,35.3390, 48,0, -1, -1, -1, 300.0 );// Redsands Casino CreateDynamicMapIcon(-2336.8530,-166.8893,35.5547, 10,0, -1, -1, -1, 300.0 );// burger dupa Scoala de Soferi mai jos CreateDynamicMapIcon(-2373.7754,910.2095,45.4453, 45,0, -1, -1, -1, 300.0 );// binco sf CreateDynamicMapIcon(2244.3765,-1665.5499,15.4766, 45,0, -1, -1, -1, 300.0 );// binco ls CreateDynamicMapIcon(2397.7676,-1899.1786,13.5469, 14,0, -1, -1, -1, 300.0 );// Cluckin Bell CreateDynamicMapIcon(2105.4827,-1806.5571,13.5547, 29,0, -1, -1, -1, 300.0 );// Well Stacked Pizza CreateDynamicMapIcon(-2242.1611,-88.1264,35.3203, 48,0, -1, -1, -1, 300.0 );// Big Spread ranch CreateDynamicMapIcon(2421.6201,-1219.2599,25.5603 ,48,0, -1, -1, -1, 300.0 );// the pig pen CreateDynamicMapIcon(331.6308,-1848.8750,4.0967 ,17,0, -1, -1, -1, 300.0 );// restaurant plaja CreateDynamicMapIcon(-2524.5051,1216.0690,37.6716 ,48,0, -1, -1, -1, 300.0 );// bar de langa rent bike sf CreateDynamicMapIcon(-1992.8215,407.0989,35.4719 ,48,0, -1, -1, -1, 300.0 );// club bowling CreateDynamicMapIcon(718.3453,-1783.8604,13.6328, 48,0, -1, -1, -1, 300.0 );// piscina gPlayerUsingLoopingAnim[playerid] = 0; gPlayerAnimLibsPreloaded[playerid] = 0; for(new h = 258; h < sizeof(CarInfo); h++) { SetVehicleParamsForPlayer(h,playerid,0,CarInfo[h][cLock]); } for(new h = 356; h < sizeof(EliInfo); h++) { SetVehicleParamsForPlayer(h,playerid,0,EliInfo[h][eLock]); } for(new h = 420; h < sizeof(BoatInfo); h++) { SetVehicleParamsForPlayer(h,playerid,0,BoatInfo[h][bbLock]); } gActivePlayers[playerid]++; numplayers++; PlayerIsSweeping[playerid] = 0; OwnableCarOffer[playerid] = 999; OwnableCarID[playerid] = 0; OwnableCarPrice[playerid] = 0; Untouchable[playerid] = 0; SelectChar[playerid] = 0; HidePM[playerid] = 0; PhoneOnline[playerid] = 0; SelectCharID[playerid] = 0; SelectCharPlace[playerid] = 0; ChosenSkin[playerid] = 0; GettingJob[playerid] = 0; GuardOffer[playerid] = 999; GuardPrice[playerid] = 0; ApprovedLawyer[playerid] = 0; CallLawyer[playerid] = 0; WantLawyer[playerid] = 0; KickPlayer[playerid] = 0; CurrentMoney[playerid] = 0; UsedFind[playerid] = 0; CP[playerid] = 0; SpawnChange[playerid] = 1; CarOffer[playerid] = 999; CarPrice[playerid] = 0; CarID[playerid] = 0; CarCalls[playerid] = 0; MoneyMessage[playerid] = 0; Condom[playerid] = 0; STDPlayer[playerid] = 0; SexOffer[playerid] = 999; SexPrice[playerid] = 0; RepairOffer[playerid] = 999; RepairPrice[playerid] = 0; RepairCar[playerid] = 0; TalkingLive[playerid] = 255; LiveOffer[playerid] = 999; TakingLesson[playerid] = 0; RefillOffer[playerid] = 999; RefillPrice[playerid] = 0; MapIconsShown[playerid] = 0; DrugOffer[playerid] = 999; PlayerCuffed[playerid] = 0; PlayerCuffedTime[playerid] = 0; DrugPrice[playerid] = 0; RegistrationStep[playerid] = 0; OnCK[playerid] = 999; GettingCK[playerid] = 999; DrugGram[playerid] = 0; ConnectedToPC[playerid] = 0; OrderReady[playerid] = 0; JailPrice[playerid] = 0; MedicTime[playerid] = 0; NeedMedicTime[playerid] = 0; MedicBill[playerid] = 0; GotHit[playerid] = 0; WantedPoints[playerid] = 0; GoChase[playerid] = 999; GetChased[playerid] = 999; PlacedNews[playerid] = 0; OnDuty[playerid] = 0; WantedLevel[playerid] = 0; TestFishes[playerid] = 0; BoxWaitTime[playerid] = 0; SchoolSpawn[playerid] = 0; ChangePos2[playerid][1] = 0; SafeTime[playerid] = 60; TransportDuty[playerid] = 0; PlayerTied[playerid] = 0; BusCallTime[playerid] = 0; TaxiCallTime[playerid] = 0; MedicCallTime[playerid] = 0; MechanicCallTime[playerid] = 0; FindTimePoints[playerid] = 0; FindTime[playerid] = 0; JobDuty[playerid] = 0; Mobile[playerid] = 255; Music[playerid] = 0; BoxOffer[playerid] = 999; PlayerBoxing[playerid] = 0; Spectate[playerid] = 255; PlayerDrunk[playerid] = 0; PlayerDrunkTime[playerid] = 0; Unspec[playerid][sLocal] = 255; FishCount[playerid] = 0; WritingPaper[playerid] = 0; WritingPaperNumber[playerid] = 999; WritingLine[playerid] = 0; BringingPaper[playerid] = 0; GotPaper[playerid] = 0; PaperOffer[playerid] = 999; ConsumingMoney[playerid] = 0; ConsumingMats[playerid] = 0; PlayerNewbie[playerid] = 0; gLastCar[playerid] = 0; FirstSpawn[playerid] = 0; gOoc[playerid] = 0; gNews[playerid] = 0; BigEar[playerid] = 0; gDice[playerid] = 0; gFam[playerid] = 0; gSpeedo[playerid] = 0; gGas[playerid] = 0; gPlayerLogged[playerid] = 0; gPlayerLogTries[playerid] = 0; gPlayerAccount[playerid] = 0; gPlayerSpawned[playerid] = 0; PlayerKarting[playerid] = 0; PlayerInKart[playerid] = 0; PlayerTazeTime[playerid] = 0; PlayerStoned[playerid] = 0; StartTime[playerid] = 0; TicketOffer[playerid] = 999; TicketMoney[playerid] = 0; MatsHolding[playerid] = 0; TutTime[playerid] = 0; JFKick[playerid] = 0; gPlayerMission[playerid] = 0; TaxiAccepted[playerid] = 999; BusAccepted[playerid] = 999; PlayerInfo[playerid][pCash] = dollah; NoFuel[playerid] = 0; HireCar[playerid] = 299; PlayersChannel[playerid] = 999; TransportValue[playerid] = 0; TransportMoney[playerid] = 0; TransportTime[playerid] = 0; TransportCost[playerid] = 0; TransportDriver[playerid] = 999; Locator[playerid] = 0; PlayerOnMission[playerid] = 0; MissionCheckpoint[playerid] = 0; WatchingTV[playerid] = 0; PlayerPaintballing[playerid] = 0; PlayerPaintballKills[playerid] = 0; Fishes[playerid][pLastFish] = 0; Fishes[playerid][pFishID] = 0; ProposeOffer[playerid] = 999; MarryWitness[playerid] = 999; MarryWitnessOffer[playerid] = 999; MarriageCeremoney[playerid] = 0; ProposedTo[playerid] = 999; GotProposedBy[playerid] = 999; DivorceOffer[playerid] = 999; GivePlayerMoney(playerid,PlayerInfo[playerid][pCash]); PlayerInfo[playerid][pLevel] = 0; PlayerInfo[playerid][pPin] = 0; PlayerInfo[playerid][pAdmin] = 0; PlayerInfo[playerid][pHelper] = 0; PlayerInfo[playerid][pFightStyle] = 0; PlayerInfo[playerid][pDonateRank] = 0; PlayerInfo[playerid][gPupgrade] = 0; PlayerInfo[playerid][pConnectTime] = 0; PlayerInfo[playerid][pReg] = 0; PlayerInfo[playerid][pSex] = 0; PlayerInfo[playerid][pAge] = 0; PlayerInfo[playerid][pOrigin] = 0; PlayerInfo[playerid][pExp] = 0; PlayerInfo[playerid][pAccount] = 0; PlayerInfo[playerid][pCrimes] = 0; PlayerInfo[playerid][pDeaths] = 0; PlayerInfo[playerid][pArrested] = 0; PlayerInfo[playerid][pWantedDeaths] = 0; PlayerInfo[playerid][pPhoneBook] = 0; PlayerInfo[playerid][pLottoNr] = 0; PlayerInfo[playerid][pFishes] = 0; PlayerInfo[playerid][pBiggestFish] = 0; PlayerInfo[playerid][pJob] = 0; PlayerInfo[playerid][pClock] = 0; PlayerInfo[playerid][pSmoke] = 0; PlayerInfo[playerid][pColor] = 0; PlayerInfo[playerid][pPaintJob] = 0; PlayerInfo[playerid][pInregistrare] = 0; PlayerInfo[playerid][pBeer] = 0; PlayerInfo[playerid][pRdeath] = 0; PlayerInfo[playerid][pBilet] = 0; PlayerInfo[playerid][pAbonament] = 0; PlayerInfo[playerid][pLLogin] = 0; PlayerInfo[playerid][pSpawntaxi] = 0; PlayerInfo[playerid][pFrozen] = 0; PlayerReported[playerid] = 0; PlayerInfo[playerid][pTowc] = 0; PlayerInfo[playerid][pPayCheck] = 0; PlayerInfo[playerid][pHeadValue] = 0; PlayerInfo[playerid][pJailed] = 0; PlayerInfo[playerid][pJailTime] = 0; PlayerInfo[playerid][pMats] = 0; PlayerInfo[playerid][pDrugs] = 0; PlayerInfo[playerid][pLeader] = 0; PlayerInfo[playerid][pMember] = 0; PlayerInfo[playerid][pFMember] = 255; PlayerInfo[playerid][pRank] = 0; PlayerInfo[playerid][pChar] = 0; PlayerInfo[playerid][pSpray] = 0; PlayerInfo[playerid][pContractTime] = 0; PlayerInfo[playerid][pDetSkill] = 0; PlayerInfo[playerid][pSexSkill] = 0; PlayerInfo[playerid][pBoxSkill] = 0; PlayerInfo[playerid][pLawSkill] = 0; PlayerInfo[playerid][pMechSkill] = 0; PlayerInfo[playerid][pJackSkill] = 0; PlayerInfo[playerid][pCarSkill] = 0; PlayerInfo[playerid][pNewsSkill] = 0; PlayerInfo[playerid][pDrugsSkill] = 0; PlayerInfo[playerid][pCookSkill] = 0; PlayerInfo[playerid][pFishSkill] = 0; PlayerInfo[playerid][pSHealth] = 0.0; PlayerInfo[playerid][pHealth] = 50.0; PlayerInfo[playerid][pPos_x] = 2246.6; PlayerInfo[playerid][pPos_y] = -1161.9; PlayerInfo[playerid][pPos_z] = 1029.7; PlayerInfo[playerid][pInt] = 15; PlayerInfo[playerid][pLocal] = 255; PlayerInfo[playerid][pTeam] = 3; PlayerInfo[playerid][pModel] = 264; new randphone = 1000 + random(8999); PlayerInfo[playerid][pPcarkey] = 999; PlayerInfo[playerid][pPcarkey2] = 999; PlayerInfo[playerid][pPcarkey3] = 999; PlayerInfo[playerid][pPelikey] = 999; PlayerInfo[playerid][pPelikey2] = 999; PlayerInfo[playerid][pPelikey3] = 999; PlayerInfo[playerid][pPboatkey] = 999; PlayerInfo[playerid][pPboatkey2] = 999; PlayerInfo[playerid][pPboatkey3] = 999; PlayerInfo[playerid][pPnumber] = randphone; PlayerInfo[playerid][pPhousekey] = 255; PlayerInfo[playerid][pPbiskey] = 255; PlayerInfo[playerid][pCarLic] = 1; PlayerInfo[playerid][pFlyLic] = 0; PlayerInfo[playerid][pBoatLic] = 0; PlayerInfo[playerid][pFishLic] = 0; PlayerInfo[playerid][pGunLic] = 0; PlayerInfo[playerid][pPassPort] = 0; PlayerInfo[playerid][pGun1] = 0; PlayerInfo[playerid][pGun2] = 0; PlayerInfo[playerid][pGun3] = 0; PlayerInfo[playerid][pGun4] = 0; PlayerInfo[playerid][pAmmo1] = 0; PlayerInfo[playerid][pAmmo2] = 0; PlayerInfo[playerid][pAmmo3] = 0; PlayerInfo[playerid][pAmmo4] = 0; PlayerInfo[playerid][pCarTime] = 0; PlayerInfo[playerid][pPayDay] = 0; PlayerInfo[playerid][pPayDayHad] = 0; PlayerInfo[playerid][pCDPlayer] = 0; PlayerInfo[playerid][pWins] = 0; PlayerInfo[playerid][pLoses] = 0; PlayerInfo[playerid][pAlcoholPerk] = 0; PlayerInfo[playerid][pDrugPerk] = 0; PlayerInfo[playerid][pMiserPerk] = 0; PlayerInfo[playerid][pPainPerk] = 0; PlayerInfo[playerid][pTraderPerk] = 0; PlayerInfo[playerid][pTut] = 0; PlayerInfo[playerid][pMissionNr] = 0; PlayerInfo[playerid][pWarns] = 0; PlayerInfo[playerid][pFwarn] = 0; PlayerInfo[playerid][pExamen] = 0; PlayerInfo[playerid][pExamen2] = 0; PlayerInfo[playerid][pExamen3] = 0; PlayerInfo[playerid][pFuel] = 0; PlayerInfo[playerid][pAdjustable] = 0; PlayerInfo[playerid][pAWarns] = 0; ClearFishes(playerid); ClearCooking(playerid); ClearGroceries(playerid); ClearMarriage(playerid); PlayerPlaySound(playerid, 1187, 0.0, 0.0, 0.0); SetPlayerColor(playerid,COLOR_GRAD2); new plname[MAX_PLAYER_NAME]; new string[MAX_PLAYER_NAME]; GetPlayerName(playerid, plname, sizeof(plname)); format(string, sizeof(string), "User/%s.ini", plname); if(fexist(string)) { gPlayerAccount[playerid] = 1; new loginstring[128]; new loginname[64]; SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); if(IsPlayerNPC(playerid)) return 1; GetPlayerName(playerid,loginname,sizeof(loginname)); format(loginstring,sizeof(loginstring),"{FFFFFF}Bine ai revenit, "color_green"%s\n{FFFFFF}Acest cont este inregistrat.\nTe rugam introdu parola pentru a te loga:",loginname); ShowPlayerDialog(playerid,12346,DIALOG_STYLE_INPUT," ",loginstring,"Logare","Iesi"); return 1; } else { gPlayerAccount[playerid] = 0; new regstring[128]; new regname[64]; SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); SCM(playerid, COLOR_GREY, " "); if(IsPlayerNPC(playerid)) return 1; GetPlayerName(playerid,regname,sizeof(regname)); format(regstring,sizeof(regstring),""color_white"Bine ai venit, "color_red"%s\n"color_white"Acest cont nu este inregistrat.\n"color_white"Scrie o parola pentru a te inregistra:",regname); ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT," ",regstring,"Inregistrare","Iesi"); return 1; } }