· 5 years ago · Mar 26, 2020, 08:08 PM
1It is not clear to me how many things are in the enum, do I work for them in the save base?
2
3
4
5
6
7
8[16:15:00] [plugins/mysql] error #1146 while executing query "SELECT * FROM organizacije WHERE ID = '1' LIMIT 1": Table 'ugbase.organizacije' doesn't exist (C:\Users\Korisnik\Desktop\La Linea\gamemodes\ugaming.pwn:14375 -> C:\Users\Korisnik\Desktop\La Linea\gamemodes\ugaming.pwn:14375 -> C:\Users\Korisnik\Desktop\La Linea\pawno\include\YSI\y_hooks/impl.inc:2275)
9[16:15:00] [plugins/mysql] error #1146 while executing query "INSERT INTO `organizacije` (`ID`, `tip`, `int`, `rank1`, `rank2`, `rank3`, `rank4`, `rank5`, `rank6`, `rank7`, `lider`, `skr`) VALUES ('1', '1', '1', 'Nema', 'Nema', 'Nema', 'Nema', 'Nema', 'Nema', 'Nema', 'Niko', 'N/A')": Table 'ugbase.organizacije' doesn't exist (C:\Users\Korisnik\Desktop\La Linea\gamemodes\ugaming.pwn:14375 -> C:\Users\Korisnik\Desktop\La Linea\pawno\include\YSI\y_hooks/impl.inc:2275)
10[16:15:01] [plugins/mysql] error #1146 while executing query "UPDATE `organizacije` SET `name` = 'Test' WHERE `ID` = '1'": Table 'ugbase.organizacije' doesn't exist (C:\Users\Korisnik\Desktop\La Linea\gamemodes\ugaming.pwn:14375 -> C:\Users\Korisnik\Desktop\La Linea\pawno\include\YSI\y_hooks/impl.inc:2275)
11
12CREATE TABLE IF NOT EXISTS `organizacije`( `ID` INT(10) NOT NULL UNIQUE, `tip` INT(10) NOT NULL, `int` INT(10), `rank1` VARCHAR(40) NOT NULL, `rank2` VARCHAR(40) NOT NULL,
13 `rank3` VARCHAR(40) NOT NULL, `rank4` VARCHAR(40) NOT NULL, `rank5` VARCHAR(40) NOT NULL, `rank6` VARCHAR(40) NOT NULL,
14 `rank7` VARCHAR(40) NOT NULL, `lider` VARCHAR(40) NOT NULL, `skr` VARCHAR(40) NOT NULL );
15
16
17
18
19
20
21enum org_data {
22 oID,
23 oName[ 64 ],
24 oSkr[ 10 ],
25 oColor[ 24 ],
26 oInt,
27 oTip,
28 oMaxP,
29 oLock,
30 oAllP,
31 oSkin1,
32 oSkin2,
33 oSkin3,
34 oSkin4,
35 oSkin5,
36 oSkin6,
37 oSkin7,
38 oZSkin,
39
40 oLider[ 64 ],
41
42 oRank1[ 24 ],
43 oRank2[ 24 ],
44 oRank3[ 24 ],
45 oRank4[ 24 ],
46 oRank5[ 24 ],
47 oRank6[ 24 ],
48 oRank7[ 24 ],
49
50 Float:uX,
51 Float:uY,
52 Float:uZ,
53 Float:iX,
54 Float:iY,
55 Float:iZ,
56
57 Float:dX,
58 Float:dY,
59 Float:dZ,
60 Float:oX,
61 Float:oY,
62 Float:oZ,
63 Float:cX,
64 Float:cY,
65 Float:cZ,
66 Float:infX,
67 Float:infY,
68 Float:infZ,
69 Float:spawnX,
70 Float:spawnY,
71 Float:spawnZ,
72 Float:sefX,
73 Float:sefY,
74 Float:sefZ,
75 Money,
76 Icon,
77 Float:iconX,
78 Float:iconY,
79 Float:iconZ,
80 Cannabis,
81 Kokain,
82 Mats,
83 oObavest[ 126 ],
84 oCarNumber
85}
86new OrgInfo[ max_org ][ org_data ];
87new OrgPickupHQ[ max_org ];
88new Text3D:OrgLabelHQ[ max_org ];
89new OrgPickupHQ2[ max_org ];
90new Text3D:OrgLabelHQ2[ max_org ];
91new OrgPickupD[ max_org ];
92new Text3D:OrgLabelD[ max_org ];
93new OrgPickupO[ max_org ];
94new Text3D:OrgLabelO[ max_org ];
95new OrgPickupU[ max_org ];
96new Text3D:OrgLabelU[ max_org ];
97new OrgPickupI[ max_org ];
98new Text3D:OrgLabelI[ max_org ];
99new Text3D:OrgLabelSef[ max_org ];
100new PickupSef[ max_org ];
101new OrgIcon[ max_org ];
102new OrgClan[ max_org ][ 41 ][ 64 ];