SHOW:
|
|
- or go back to the newest paste.
1 | - | public OnPropUpdate(update,idx) |
1 | + | public OnPlayerUpdateEx(playerid) |
2 | { | |
3 | new ticks = tickcount(); | |
4 | - | new file[64]; |
4 | + | if(IsPlayerConnected(playerid)) |
5 | - | if(update == 1) |
5 | + | |
6 | if(gPlayerLogged[playerid] == 1) | |
7 | - | format(file, sizeof(file),"LARP/Properties/%d.ini",idx); |
7 | + | |
8 | - | if(dini_Exists(file)) |
8 | + | new string3[64]; |
9 | new playername3[MAX_PLAYER_NAME]; | |
10 | - | if(HouseInfo[idx][hSetted] == 1) |
10 | + | GetPlayerName(playerid, playername3, sizeof(playername3)); |
11 | - | { |
11 | + | format(string3, sizeof(string3), "LARP/Users/%s.ini", playername3); |
12 | - | dini_FloatSet(file,"Entrance_X",HouseInfo[idx][hEntrancex]); |
12 | + | |
13 | - | dini_FloatSet(file,"Entrance_Y",HouseInfo[idx][hEntrancey]); |
13 | + | dini_IntSet(string3, "Password",PlayerInfo[playerid][pKey]); |
14 | - | dini_FloatSet(file,"Entrance_Z",HouseInfo[idx][hEntrancez]); |
14 | + | dini_IntSet(string3, "Level",PlayerInfo[playerid][pLevel]); |
15 | - | dini_FloatSet(file,"Exit_X",HouseInfo[idx][hExitx]); |
15 | + | dini_IntSet(string3, "Spawn",PlayerInfo[playerid][pSpawn]); |
16 | - | dini_FloatSet(file,"Exit_Y",HouseInfo[idx][hExity]); |
16 | + | dini_IntSet(string3, "TesterLevel",PlayerInfo[playerid][pTester]); |
17 | - | dini_FloatSet(file,"Exit_Z",HouseInfo[idx][hExitz]); |
17 | + | dini_IntSet(string3, "HelperLevel",PlayerInfo[playerid][pHelper]); |
18 | - | dini_IntSet(file,"Health_X",HouseInfo[idx][hHealthx]); |
18 | + | dini_IntSet(string3, "AdminLevel",PlayerInfo[playerid][pAdmin]); |
19 | - | dini_IntSet(file,"Health_Y",HouseInfo[idx][hHealthy]); |
19 | + | dini_IntSet(string3, "RegularRank",PlayerInfo[playerid][pRegularRank]); |
20 | - | dini_IntSet(file,"Health_Z",HouseInfo[idx][hHealthz]); |
20 | + | dini_IntSet(string3, "UpgradePoints",PlayerInfo[playerid][gPupgrade]); |
21 | - | dini_IntSet(file,"Armour_X",HouseInfo[idx][hArmourx]); |
21 | + | dini_IntSet(string3, "ConnectedTime",PlayerInfo[playerid][pConnectSeconds]); |
22 | - | dini_IntSet(file,"Armour_Y",HouseInfo[idx][hArmoury]); |
22 | + | dini_IntSet(string3, "Registered",PlayerInfo[playerid][pReg]); |
23 | - | dini_IntSet(file,"Armour_Z",HouseInfo[idx][hArmourz]); |
23 | + | dini_IntSet(string3, "Sex",PlayerInfo[playerid][pSex]); |
24 | - | dini_Set(file,"Owner",HouseInfo[idx][hOwner]); |
24 | + | dini_IntSet(string3, "Age",PlayerInfo[playerid][pAge]); |
25 | - | dini_Set(file,"Description",HouseInfo[idx][hDiscription]); |
25 | + | dini_IntSet(string3, "GPS",PlayerInfo[playerid][pGPS]); |
26 | - | dini_IntSet(file,"Price",HouseInfo[idx][hValue]); |
26 | + | dini_IntSet(string3, "Origin",PlayerInfo[playerid][pOrigin]); |
27 | - | dini_IntSet(file,"Health",HouseInfo[idx][hHel]); |
27 | + | dini_IntSet(string3, "CK",PlayerInfo[playerid][pCK]); |
28 | - | dini_IntSet(file,"Armour",HouseInfo[idx][hArm]); |
28 | + | dini_IntSet(string3, "Muted",PlayerInfo[playerid][pMuted]); |
29 | - | dini_IntSet(file,"Interior",HouseInfo[idx][hInt]); |
29 | + | dini_IntSet(string3, "Frozen",PlayerInfo[playerid][pFrozen]); |
30 | - | dini_IntSet(file,"Locked",HouseInfo[idx][hLock]); |
30 | + | dini_IntSet(string3, "Blind",PlayerInfo[playerid][pBlind]); |
31 | - | dini_IntSet(file,"Owned",HouseInfo[idx][hOwned]); |
31 | + | dini_IntSet(string3, "Respect",PlayerInfo[playerid][pExp]); |
32 | - | dini_IntSet(file,"Rooms",HouseInfo[idx][hRooms]); |
32 | + | dini_IntSet(string3, "Money",PlayerInfo[playerid][pCash]); |
33 | - | dini_IntSet(file,"RentPrice",HouseInfo[idx][hRentabil]); |
33 | + | PlayerInfo[playerid][pCash] = ScriptMoney[playerid]; |
34 | - | dini_IntSet(file,"Takings",HouseInfo[idx][hTakings]); |
34 | + | dini_IntSet(string3, "Bank",PlayerInfo[playerid][pAccount]); |
35 | - | dini_IntSet(file,"LevelNeeded",HouseInfo[idx][hLevel]); |
35 | + | dini_IntSet(string3, "Crimes",PlayerInfo[playerid][pCrimes]); |
36 | - | dini_IntSet(file,"World",HouseInfo[idx][hWorld]); |
36 | + | dini_Set(string3, "CrimeReason",PlayerInfo[playerid][pCrimeReason]); |
37 | - | dini_IntSet(file,"Setted",HouseInfo[idx][hSetted]); |
37 | + | dini_IntSet(string3, "Wanted",PlayerInfo[playerid][pWanted]); |
38 | - | dini_IntSet(file,"Drugs",HouseInfo[idx][hDrugs]); |
38 | + | dini_IntSet(string3, "WantedLevel",PlayerInfo[playerid][pWantedLevel]); |
39 | - | dini_IntSet(file,"Materials",HouseInfo[idx][hMaterials]); |
39 | + | dini_IntSet(string3, "Kills",PlayerInfo[playerid][pKills]); |
40 | - | dini_IntSet(file,"Weapon1",HouseInfo[idx][hWeapon1]); |
40 | + | dini_IntSet(string3, "Deaths",PlayerInfo[playerid][pDeaths]); |
41 | - | dini_IntSet(file,"Ammo1",HouseInfo[idx][hAmmo1]); |
41 | + | dini_IntSet(string3, "Arrested",PlayerInfo[playerid][pArrested]); |
42 | - | dini_IntSet(file,"Weapon2",HouseInfo[idx][hWeapon2]); |
42 | + | dini_IntSet(string3, "WantedDeaths",PlayerInfo[playerid][pWantedDeaths]); |
43 | - | dini_IntSet(file,"Ammo2",HouseInfo[idx][hAmmo2]); |
43 | + | dini_IntSet(string3, "Phonebook",PlayerInfo[playerid][pPhoneBook]); |
44 | - | dini_IntSet(file,"Weapon3",HouseInfo[idx][hWeapon3]); |
44 | + | dini_IntSet(string3, "LottoNr",PlayerInfo[playerid][pLottoNr]); |
45 | - | dini_IntSet(file,"Ammo3",HouseInfo[idx][hAmmo3]); |
45 | + | dini_IntSet(string3, "Fishes",PlayerInfo[playerid][pFishes]); |
46 | - | dini_IntSet(file,"Weapon4",HouseInfo[idx][hWeapon4]); |
46 | + | dini_IntSet(string3, "BiggestFish",PlayerInfo[playerid][pBiggestFish]); |
47 | - | dini_IntSet(file,"Ammo4",HouseInfo[idx][hAmmo4]); |
47 | + | dini_IntSet(string3, "Job",PlayerInfo[playerid][pJob]); |
48 | - | dini_IntSet(file,"Weapon5",HouseInfo[idx][hWeapon5]); |
48 | + | dini_IntSet(string3, "Paycheck",PlayerInfo[playerid][pPayCheck]); |
49 | - | dini_IntSet(file,"Ammo5",HouseInfo[idx][hAmmo5]); |
49 | + | dini_IntSet(string3, "HeadValue",PlayerInfo[playerid][pHeadValue]); |
50 | - | dini_IntSet(file,"Weapon6",HouseInfo[idx][hWeapon6]); |
50 | + | dini_IntSet(string3, "Jailed",PlayerInfo[playerid][pJailed]); |
51 | - | dini_IntSet(file,"Ammo6",HouseInfo[idx][hAmmo6]); |
51 | + | dini_IntSet(string3, "JailTime",PlayerInfo[playerid][pJailTime]); |
52 | - | dini_Set(file,"Message",HouseInfo[idx][hMessage]); |
52 | + | dini_IntSet(string3, "CanRobTime",PlayerInfo[playerid][pRobTime]); |
53 | - | } |
53 | + | dini_IntSet(string3, "Materials",PlayerInfo[playerid][pMats]); |
54 | - | else |
54 | + | dini_IntSet(string3, "Drugs",PlayerInfo[playerid][pDrugs]); |
55 | - | { |
55 | + | dini_IntSet(string3, "Leader",PlayerInfo[playerid][pLeader]); |
56 | - | fremove(file); |
56 | + | dini_IntSet(string3, "Member",PlayerInfo[playerid][pMember]); |
57 | - | } |
57 | + | dini_IntSet(string3, "FMember",PlayerInfo[playerid][pFMember]); |
58 | dini_IntSet(string3, "Rank",PlayerInfo[playerid][pRank]); | |
59 | dini_IntSet(string3, "Char",PlayerInfo[playerid][pChar]); | |
60 | - | else if(update == 2) |
60 | + | dini_IntSet(string3, "ContractTime",PlayerInfo[playerid][pContractTime]); |
61 | dini_IntSet(string3, "DetSkill",PlayerInfo[playerid][pDetSkill]); | |
62 | - | format(file, sizeof(file),"LARP/Bizzes/%d.ini",idx); |
62 | + | dini_IntSet(string3, "SexSkill",PlayerInfo[playerid][pSexSkill]); |
63 | - | if(dini_Exists(file)) |
63 | + | dini_IntSet(string3, "BoxSkill",PlayerInfo[playerid][pBoxSkill]); |
64 | dini_IntSet(string3, "LawSkill",PlayerInfo[playerid][pLawSkill]); | |
65 | - | if(BizzInfo[idx][bSetted] == 1) |
65 | + | dini_IntSet(string3, "MechSkill",PlayerInfo[playerid][pMechSkill]); |
66 | - | { |
66 | + | dini_IntSet(string3, "JackSkill",PlayerInfo[playerid][pJackSkill]); |
67 | - | dini_IntSet(file,"Owned",BizzInfo[idx][bOwned]); |
67 | + | dini_IntSet(string3, "CarSkill",PlayerInfo[playerid][pCarSkill]); |
68 | - | dini_Set(file,"Owner",BizzInfo[idx][bOwner]); |
68 | + | dini_IntSet(string3, "NewsSkill",PlayerInfo[playerid][pNewsSkill]); |
69 | - | dini_Set(file,"Message",BizzInfo[idx][bMessage]); |
69 | + | dini_IntSet(string3, "DrugsSkill",PlayerInfo[playerid][pDrugsSkill]); |
70 | - | dini_Set(file,"ExtortionBy",BizzInfo[idx][bExtortion]); |
70 | + | dini_IntSet(string3, "CookSkill",PlayerInfo[playerid][pCookSkill]); |
71 | - | dini_FloatSet(file,"Entrance_X",BizzInfo[idx][bEntranceX]); |
71 | + | dini_IntSet(string3, "FishSkill",PlayerInfo[playerid][pFishSkill]); |
72 | - | dini_FloatSet(file,"Entrance_Y",BizzInfo[idx][bEntranceY]); |
72 | + | dini_FloatSet(string3, "pHealth",PlayerInfo[playerid][pHealth]); |
73 | - | dini_FloatSet(file,"Entrance_Z",BizzInfo[idx][bEntranceZ]); |
73 | + | dini_FloatSet(string3, "pArmour",PlayerInfo[playerid][pArmour]); |
74 | - | dini_FloatSet(file,"Exit_X",BizzInfo[idx][bExitX]); |
74 | + | dini_IntSet(string3, "Int",PlayerInfo[playerid][pInt]); |
75 | - | dini_FloatSet(file,"Exit_Y",BizzInfo[idx][bExitY]); |
75 | + | dini_IntSet(string3, "InteriorNr",PlayerInfo[playerid][pInteriorNr]); |
76 | - | dini_FloatSet(file,"Exit_Z",BizzInfo[idx][bExitZ]); |
76 | + | dini_IntSet(string3, "Local",PlayerInfo[playerid][pLocal]); |
77 | - | dini_IntSet(file,"LevelNeeded",BizzInfo[idx][bLevelNeeded]); |
77 | + | dini_IntSet(string3, "Team",PlayerInfo[playerid][pTeam]); |
78 | - | dini_IntSet(file,"Price",BizzInfo[idx][bBuyPrice]); |
78 | + | dini_IntSet(string3, "Model",PlayerInfo[playerid][pModel]); |
79 | - | dini_IntSet(file,"EntranceCost",BizzInfo[idx][bEntranceCost]); |
79 | + | dini_IntSet(string3, "PhoneNr",PlayerInfo[playerid][pPnumber]); |
80 | - | dini_IntSet(file,"Till",BizzInfo[idx][bTill]); |
80 | + | dini_IntSet(string3, "Car",PlayerInfo[playerid][pPcarkey]); |
81 | - | dini_IntSet(file,"Locked",BizzInfo[idx][bLocked]); |
81 | + | dini_IntSet(string3, "Car2",PlayerInfo[playerid][pPcarkey2]); |
82 | - | dini_IntSet(file,"Interior",BizzInfo[idx][bInterior]); |
82 | + | dini_IntSet(string3, "House",PlayerInfo[playerid][pPhousekey]); |
83 | - | dini_IntSet(file,"Products",BizzInfo[idx][bProducts]); |
83 | + | dini_IntSet(string3, "Bizz",PlayerInfo[playerid][pPbiskey]); |
84 | - | dini_IntSet(file,"MaxProducts",BizzInfo[idx][bMaxProducts]); |
84 | + | dini_FloatSet(string3, "Pos_x",PlayerInfo[playerid][pPos_x]); |
85 | - | dini_IntSet(file,"ProductPrice",BizzInfo[idx][bPriceProd]); |
85 | + | dini_FloatSet(string3, "Pos_y",PlayerInfo[playerid][pPos_y]); |
86 | - | dini_IntSet(file,"VirtualWorld",BizzInfo[idx][bVirWorld]); |
86 | + | dini_FloatSet(string3, "Pos_z",PlayerInfo[playerid][pPos_z]); |
87 | - | dini_IntSet(file,"InteriorNr",BizzInfo[idx][bInteriorNr]); |
87 | + | dini_IntSet(string3, "Passport",PlayerInfo[playerid][pPassport]); |
88 | - | dini_IntSet(file,"Setted",BizzInfo[idx][bSetted]); |
88 | + | dini_IntSet(string3, "CarLic",PlayerInfo[playerid][pCarLic]); |
89 | - | } |
89 | + | dini_IntSet(string3, "FlyLic",PlayerInfo[playerid][pFlyLic]); |
90 | - | else |
90 | + | dini_IntSet(string3, "BoatLic",PlayerInfo[playerid][pBoatLic]); |
91 | - | { |
91 | + | dini_IntSet(string3, "FishLic",PlayerInfo[playerid][pFishLic]); |
92 | - | fremove(file); |
92 | + | dini_IntSet(string3, "GunLic",PlayerInfo[playerid][pGunLic]); |
93 | - | } |
93 | + | dini_IntSet(string3, "CopLic",PlayerInfo[playerid][pCopLic]); |
94 | dini_IntSet(string3, "CarTime",PlayerInfo[playerid][pCarTime]); | |
95 | dini_IntSet(string3, "PayDay",PlayerInfo[playerid][pPayDay]); | |
96 | - | else if(update == 3) |
96 | + | dini_IntSet(string3, "PayDayHad",PlayerInfo[playerid][pPayDayHad]); |
97 | dini_IntSet(string3, "Watch",PlayerInfo[playerid][pWatch]); | |
98 | - | format(file, sizeof(file),"LARP/SBizzes/%d.ini",idx); |
98 | + | dini_IntSet(string3, "Crashed",PlayerInfo[playerid][pCrashed]); |
99 | - | if(!dini_Exists(file)) |
99 | + | dini_IntSet(string3, "Wins",PlayerInfo[playerid][pWins]); |
100 | dini_IntSet(string3, "Loses",PlayerInfo[playerid][pLoses]); | |
101 | - | dini_Create(file); |
101 | + | dini_IntSet(string3, "AlcoholPerk",PlayerInfo[playerid][pAlcoholPerk]); |
102 | dini_IntSet(string3, "DrugPerk",PlayerInfo[playerid][pDrugPerk]); | |
103 | - | dini_IntSet(file,"Owned",SBizzInfo[idx][sbOwned]); |
103 | + | dini_IntSet(string3, "MiserPerk",PlayerInfo[playerid][pMiserPerk]); |
104 | - | dini_Set(file,"Owner",SBizzInfo[idx][sbOwner]); |
104 | + | dini_IntSet(string3, "PainPerk",PlayerInfo[playerid][pPainPerk]); |
105 | - | dini_Set(file,"Message",SBizzInfo[idx][sbMessage]); |
105 | + | dini_IntSet(string3, "TraderPerk",PlayerInfo[playerid][pTraderPerk]); |
106 | - | dini_Set(file,"ExtortionBy",SBizzInfo[idx][sbExtortion]); |
106 | + | dini_IntSet(string3, "Tutorial",PlayerInfo[playerid][pTut]); |
107 | - | dini_FloatSet(file,"Entrance_X",SBizzInfo[idx][sbEntranceX]); |
107 | + | dini_IntSet(string3, "VirWorld",PlayerInfo[playerid][pVirWorld]); |
108 | - | dini_FloatSet(file,"Entrance_Y",SBizzInfo[idx][sbEntranceY]); |
108 | + | dini_IntSet(string3, "Fuel",PlayerInfo[playerid][pFuel]); |
109 | - | dini_FloatSet(file,"Entrance_Z",SBizzInfo[idx][sbEntranceZ]); |
109 | + | dini_IntSet(string3, "Married",PlayerInfo[playerid][pMarried]); |
110 | - | dini_IntSet(file,"LevelNeeded",SBizzInfo[idx][sbLevelNeeded]); |
110 | + | dini_Set(string3, "MarriedTo",PlayerInfo[playerid][pMarriedTo]); |
111 | - | dini_IntSet(file,"Price",SBizzInfo[idx][sbBuyPrice]); |
111 | + | dini_IntSet(string3, "FishTool",PlayerInfo[playerid][pFishTool]); |
112 | - | dini_IntSet(file,"EntranceCost",SBizzInfo[idx][sbEntranceCost]); |
112 | + | dini_Set(string3, "WhyLeft",PlayerInfo[playerid][pWhyLeft]); |
113 | - | dini_IntSet(file,"Till",SBizzInfo[idx][sbTill]); |
113 | + | dini_Set(string3, "Note1",PlayerInfo[playerid][pNote1]); |
114 | - | dini_IntSet(file,"Locked",SBizzInfo[idx][sbLocked]); |
114 | + | dini_IntSet(string3, "Note1s",PlayerInfo[playerid][pNote1s]); |
115 | - | dini_IntSet(file,"Interior",SBizzInfo[idx][sbInterior]); |
115 | + | dini_Set(string3, "Note2",PlayerInfo[playerid][pNote2]); |
116 | - | dini_IntSet(file,"Products",SBizzInfo[idx][sbProducts]); |
116 | + | dini_IntSet(string3, "Note2s",PlayerInfo[playerid][pNote2s]); |
117 | - | dini_IntSet(file,"MaxProducts",SBizzInfo[idx][sbMaxProducts]); |
117 | + | dini_Set(string3, "Note3",PlayerInfo[playerid][pNote3]); |
118 | - | dini_IntSet(file,"ProductPrice",SBizzInfo[idx][sbPriceProd]); |
118 | + | dini_IntSet(string3, "Note3s",PlayerInfo[playerid][pNote3s]); |
119 | dini_Set(string3, "Note4",PlayerInfo[playerid][pNote4]); | |
120 | - | else if(update == 4) |
120 | + | dini_IntSet(string3, "Note4s",PlayerInfo[playerid][pNote4s]); |
121 | dini_Set(string3, "Note5",PlayerInfo[playerid][pNote5]); | |
122 | - | format(file, sizeof(file),"LARP/Vehicles/%d.ini",idx); |
122 | + | dini_IntSet(string3, "Note5s",PlayerInfo[playerid][pNote5s]); |
123 | - | if(dini_Exists(file)) |
123 | + | dini_IntSet(string3, "InvWeapon",PlayerInfo[playerid][pInvWeapon]); |
124 | dini_IntSet(string3, "InvAmmo",PlayerInfo[playerid][pInvAmmo]); | |
125 | - | dini_IntSet(file,"Model",CarInfo[idx][cModel]); |
125 | + | dini_IntSet(string3, "InvWeapon2",PlayerInfo[playerid][pInvWeapon2]); |
126 | - | dini_FloatSet(file,"Location_X",CarInfo[idx][cLocationx]); |
126 | + | dini_IntSet(string3, "InvAmmo2",PlayerInfo[playerid][pInvAmmo2]); |
127 | - | dini_FloatSet(file,"Location_Y",CarInfo[idx][cLocationy]); |
127 | + | dini_IntSet(string3, "InvWeapon3",PlayerInfo[playerid][pInvWeapon3]); |
128 | - | dini_FloatSet(file,"Location_Z",CarInfo[idx][cLocationz]); |
128 | + | dini_IntSet(string3, "InvAmmo3",PlayerInfo[playerid][pInvAmmo3]); |
129 | - | dini_FloatSet(file,"Angle",CarInfo[idx][cAngle]); |
129 | + | dini_IntSet(string3, "InvWeapon4",PlayerInfo[playerid][pInvWeapon4]); |
130 | - | dini_IntSet(file,"Color_1",CarInfo[idx][cColorOne]); |
130 | + | dini_IntSet(string3, "InvAmmo4",PlayerInfo[playerid][pInvAmmo4]); |
131 | - | dini_IntSet(file,"Color_2",CarInfo[idx][cColorTwo]); |
131 | + | dini_IntSet(string3, "InvWeapon5",PlayerInfo[playerid][pInvWeapon5]); |
132 | - | dini_Set(file,"Owner",CarInfo[idx][cOwner]); |
132 | + | dini_IntSet(string3, "InvAmmo5",PlayerInfo[playerid][pInvAmmo5]); |
133 | - | dini_IntSet(file,"Owned",CarInfo[idx][cOwned]); |
133 | + | dini_IntSet(string3, "InvWeapon6",PlayerInfo[playerid][pInvWeapon6]); |
134 | - | dini_IntSet(file,"Locked",CarInfo[idx][cLock]); |
134 | + | dini_IntSet(string3, "InvAmmo6",PlayerInfo[playerid][pInvAmmo6]); |
135 | - | dini_Set(file,"Plate",CarInfo[idx][cPlate]); |
135 | + | dini_IntSet(string3, "Lighter",PlayerInfo[playerid][pLighter]); |
136 | - | dini_IntSet(file,"Paintjob",CarInfo[idx][cPaintjob]); |
136 | + | dini_IntSet(string3, "Cigarettes",PlayerInfo[playerid][pCigarettes]); |
137 | - | dini_IntSet(file,"VirtualWorld",CarInfo[idx][cVirWorld]); |
137 | + | dini_IntSet(string3, "DDManager",PlayerInfo[playerid][pDM]); |
138 | - | dini_IntSet(file,"Component0",CarInfo[idx][cComponent0]); |
138 | + | dini_IntSet(string3, "OnDuty",PlayerInfo[playerid][pDuty]); |
139 | - | dini_IntSet(file,"Component1",CarInfo[idx][cComponent1]); |
139 | + | dini_IntSet(string3, "Warnings",PlayerInfo[playerid][pWarned]); |
140 | - | dini_IntSet(file,"Component2",CarInfo[idx][cComponent2]); |
140 | + | dini_IntSet(string3, "Swat",PlayerInfo[playerid][pSwat]); |
141 | - | dini_IntSet(file,"Component3",CarInfo[idx][cComponent3]); |
141 | + | dini_IntSet(string3, "Fighting",PlayerInfo[playerid][pFS]); |
142 | - | dini_IntSet(file,"Component4",CarInfo[idx][cComponent4]); |
142 | + | dini_IntSet(string3, "Boxing",PlayerInfo[playerid][pBoxiSkill]); |
143 | - | dini_IntSet(file,"Component5",CarInfo[idx][cComponent5]); |
143 | + | dini_IntSet(string3, "KneeHead",PlayerInfo[playerid][pKneeSkill]); |
144 | - | dini_IntSet(file,"Component6",CarInfo[idx][cComponent6]); |
144 | + | dini_IntSet(string3, "KungFu",PlayerInfo[playerid][pKungSkill]); |
145 | - | dini_IntSet(file,"Component7",CarInfo[idx][cComponent7]); |
145 | + | dini_IntSet(string3, "GrabKick",PlayerInfo[playerid][pGrabSkill]); |
146 | - | dini_IntSet(file,"Component8",CarInfo[idx][cComponent8]); |
146 | + | dini_IntSet(string3, "Elbow",PlayerInfo[playerid][pElbowSkill]); |
147 | - | dini_IntSet(file,"Component9",CarInfo[idx][cComponent9]); |
147 | + | dini_IntSet(string3, "Tactical",PlayerInfo[playerid][pTactical]); |
148 | - | dini_IntSet(file,"Component10",CarInfo[idx][cComponent10]); |
148 | + | dini_IntSet(string3, "SpecialF",PlayerInfo[playerid][pSpecialF]); |
149 | - | dini_IntSet(file,"Component11",CarInfo[idx][cComponent11]); |
149 | + | dini_IntSet(string3, "DutyBanned",PlayerInfo[playerid][pDBanned]); |
150 | - | dini_IntSet(file,"Component12",CarInfo[idx][cComponent12]); |
150 | + | dini_IntSet(string3, "DDTicket",PlayerInfo[playerid][pDTK]); |
151 | - | dini_IntSet(file,"Component13",CarInfo[idx][cComponent13]); |
151 | + | dini_IntSet(string3, "DDSTicket",PlayerInfo[playerid][pDSTK]); |
152 | - | dini_IntSet(file,"SecurityCode",CarInfo[idx][cCode]); |
152 | + | dini_IntSet(string3, "Speedo",PlayerInfo[playerid][pSpeedo]); |
153 | dini_IntSet(string3, "Mask",PlayerInfo[playerid][pMask]); | |
154 | dini_IntSet(string3, "HydraDriver",PlayerInfo[playerid][pHydraR]); | |
155 | - | printf("%i - onpropupdate", tickcount() - ticks); |
155 | + | dini_IntSet(string3, "HunterDriver",PlayerInfo[playerid][pHunterR]); |
156 | dini_IntSet(string3, "RhinoDriver",PlayerInfo[playerid][pRhinoR]); | |
157 | dini_IntSet(string3, "PredatorDriver",PlayerInfo[playerid][pPredR]); | |
158 | dini_IntSet(string3, "ViewPms",PlayerInfo[playerid][pViewPms]); | |
159 | dini_IntSet(string3, "AppearList",PlayerInfo[playerid][pAppearList]); | |
160 | dini_IntSet(string3, "AmmunationTime",PlayerInfo[playerid][pAmmuTrainTime]); | |
161 | dini_IntSet(string3, "PistolSkill",PlayerInfo[playerid][pPistSkill]); | |
162 | dini_IntSet(string3, "SilencedSkill",PlayerInfo[playerid][pSilenSkill]); | |
163 | dini_IntSet(string3, "DesertSkill",PlayerInfo[playerid][pDesertSkill]); | |
164 | dini_IntSet(string3, "ShotgunSkill",PlayerInfo[playerid][pShotgSkill]); | |
165 | dini_IntSet(string3, "SawnoffSkill",PlayerInfo[playerid][pSawnSkill]); | |
166 | dini_IntSet(string3, "CombatSkill",PlayerInfo[playerid][pCombSkill]); | |
167 | dini_IntSet(string3, "UziSkill",PlayerInfo[playerid][pUziSkill]); | |
168 | dini_IntSet(string3, "SMGSkill",PlayerInfo[playerid][pSmgSkill]); | |
169 | dini_IntSet(string3, "AK47Skill",PlayerInfo[playerid][pAkSkill]); | |
170 | dini_IntSet(string3, "M4Skill",PlayerInfo[playerid][pM4Skill]); | |
171 | dini_IntSet(string3, "TutorialDone",PlayerInfo[playerid][pTutDone]); | |
172 | dini_IntSet(string3, "RegularCount",PlayerInfo[playerid][pRegularCount]); | |
173 | dini_IntSet(string3, "PassportTime",PlayerInfo[playerid][pPassportTime]); | |
174 | dini_IntSet(string3, "OfficerTime",PlayerInfo[playerid][pOfficerTime]); | |
175 | dini_IntSet(string3, "Achievement0",PlayerInfo[playerid][pAchievement0]); | |
176 | dini_IntSet(string3, "Achievement1",PlayerInfo[playerid][pAchievement1]); | |
177 | dini_IntSet(string3, "Achievement2",PlayerInfo[playerid][pAchievement2]); | |
178 | dini_IntSet(string3, "Achievement3",PlayerInfo[playerid][pAchievement3]); | |
179 | dini_IntSet(string3, "Achievement4",PlayerInfo[playerid][pAchievement4]); | |
180 | dini_IntSet(string3, "Achievement5",PlayerInfo[playerid][pAchievement5]); | |
181 | dini_IntSet(string3, "Achievement6",PlayerInfo[playerid][pAchievement6]); | |
182 | dini_IntSet(string3, "Achievement7",PlayerInfo[playerid][pAchievement7]); | |
183 | dini_IntSet(string3, "Achievement8",PlayerInfo[playerid][pAchievement8]); | |
184 | dini_IntSet(string3, "Achievement9",PlayerInfo[playerid][pAchievement9]); | |
185 | dini_IntSet(string3, "Achievement10",PlayerInfo[playerid][pAchievement10]); | |
186 | dini_IntSet(string3, "Achievement11",PlayerInfo[playerid][pAchievement11]); | |
187 | dini_IntSet(string3, "Achievement12",PlayerInfo[playerid][pAchievement12]); | |
188 | dini_IntSet(string3, "Achievement13",PlayerInfo[playerid][pAchievement13]); | |
189 | dini_IntSet(string3, "Achievement14",PlayerInfo[playerid][pAchievement14]); | |
190 | dini_IntSet(string3, "Achievement15",PlayerInfo[playerid][pAchievement15]); | |
191 | dini_IntSet(string3, "Achievement16",PlayerInfo[playerid][pAchievement16]); | |
192 | dini_IntSet(string3, "Achievement17",PlayerInfo[playerid][pAchievement17]); | |
193 | dini_IntSet(string3, "Achievement18",PlayerInfo[playerid][pAchievement18]); | |
194 | dini_IntSet(string3, "Achievement19",PlayerInfo[playerid][pAchievement19]); | |
195 | dini_IntSet(string3, "Achievement20",PlayerInfo[playerid][pAchievement20]); | |
196 | dini_IntSet(string3, "ShiftName",PlayerInfo[playerid][pShiftName]); | |
197 | dini_IntSet(string3, "Weapon",PlayerInfo[playerid][pWeapon]); | |
198 | dini_IntSet(string3, "Ammo",PlayerInfo[playerid][pAmmo]); | |
199 | dini_IntSet(string3, "Weapon2",PlayerInfo[playerid][pWeapon2]); | |
200 | dini_IntSet(string3, "Ammo2",PlayerInfo[playerid][pAmmo2]); | |
201 | dini_IntSet(string3, "Weapon3",PlayerInfo[playerid][pWeapon3]); | |
202 | dini_IntSet(string3, "Ammo3",PlayerInfo[playerid][pAmmo3]); | |
203 | dini_IntSet(string3, "Weapon4",PlayerInfo[playerid][pWeapon4]); | |
204 | dini_IntSet(string3, "Ammo4",PlayerInfo[playerid][pAmmo4]); | |
205 | dini_IntSet(string3, "Weapon5",PlayerInfo[playerid][pWeapon5]); | |
206 | dini_IntSet(string3, "Ammo5",PlayerInfo[playerid][pAmmo5]); | |
207 | dini_IntSet(string3, "Weapon6",PlayerInfo[playerid][pWeapon6]); | |
208 | dini_IntSet(string3, "Ammo6",PlayerInfo[playerid][pAmmo6]); | |
209 | dini_IntSet(string3, "Weapon7",PlayerInfo[playerid][pWeapon7]); | |
210 | dini_IntSet(string3, "Ammo7",PlayerInfo[playerid][pAmmo7]); | |
211 | dini_IntSet(string3, "Weapon8",PlayerInfo[playerid][pWeapon8]); | |
212 | dini_IntSet(string3, "Ammo8",PlayerInfo[playerid][pAmmo8]); | |
213 | dini_IntSet(string3, "Weapon9",PlayerInfo[playerid][pWeapon9]); | |
214 | dini_IntSet(string3, "Ammo9",PlayerInfo[playerid][pAmmo9]); | |
215 | dini_IntSet(string3, "Weapon10",PlayerInfo[playerid][pWeapon10]); | |
216 | dini_IntSet(string3, "Ammo10",PlayerInfo[playerid][pAmmo10]); | |
217 | dini_IntSet(string3, "Weapon11",PlayerInfo[playerid][pWeapon11]); | |
218 | dini_IntSet(string3, "Ammo11",PlayerInfo[playerid][pAmmo11]); | |
219 | dini_IntSet(string3, "Weapon12",PlayerInfo[playerid][pWeapon12]); | |
220 | dini_IntSet(string3, "Ammo12",PlayerInfo[playerid][pAmmo12]); | |
221 | dini_IntSet(string3, "Atc",PlayerInfo[playerid][pAtc]); | |
222 | dini_IntSet(string3, "AtcRadio",PlayerInfo[playerid][pAtcRadio]); | |
223 | dini_IntSet(string3, "Pending",PlayerInfo[playerid][pPending]); | |
224 | dini_Set(string3, "PendingInfo",PlayerInfo[playerid][pPendingInfo]); | |
225 | dini_IntSet(string3, "ChatMode",PlayerInfo[playerid][pChatMode]); | |
226 | dini_Set(string3, "Punishment1",PlayerInfo[playerid][pPunishment1]); | |
227 | dini_Set(string3, "Punishment2",PlayerInfo[playerid][pPunishment2]); | |
228 | dini_Set(string3, "Punishment3",PlayerInfo[playerid][pPunishment3]); | |
229 | dini_Set(string3, "Punishment4",PlayerInfo[playerid][pPunishment4]); | |
230 | dini_Set(string3, "Punishment5",PlayerInfo[playerid][pPunishment5]); | |
231 | dini_Set(string3, "Punishment6",PlayerInfo[playerid][pPunishment6]); | |
232 | dini_Set(string3, "Punishment7",PlayerInfo[playerid][pPunishment7]); | |
233 | dini_Set(string3, "Punishment8",PlayerInfo[playerid][pPunishment8]); | |
234 | dini_IntSet(string3, "NextPunishment",PlayerInfo[playerid][pNextPunishment]); | |
235 | dini_IntSet(string3, "PunishedTimes",PlayerInfo[playerid][pPunished]); | |
236 | dini_IntSet(string3, "TazerBullets",PlayerInfo[playerid][pTazerBullets]); | |
237 | dini_Set(string3, "IP",PlayerInfo[playerid][pIP]); | |
238 | dini_Set(string3, "LastLogged",PlayerInfo[playerid][pLastSeen]); | |
239 | dini_IntSet(string3, "Changed",PlayerInfo[playerid][pChanged]); | |
240 | dini_Set(string3, "RegistredDate",PlayerInfo[playerid][pRegistredDate]); | |
241 | dini_IntSet(string3, "BizzEntered",BizzEntered[playerid]); | |
242 | dini_IntSet(string3, "HouseEntered",HouseEntered[playerid]); | |
243 | dini_IntSet(string3, "Decoder",PlayerInfo[playerid][pDecoder]); | |
244 | dini_IntSet(string3, "Banned",PlayerInfo[playerid][pBanned]); | |
245 | } | |
246 | } | |
247 | printf("%i - onplayerupdateex", tickcount() - ticks); | |
248 | return 1; | |
249 | } |