#include <a_samp> #include <a_mysql> #include <izcmd> // you can also use <zcmd> - Both are working #include <sscanf2> #include <YSI_data\y_foreach> #include <YSI\y_va> #include <easyDialog>
#define MAX_BIZ 100 // Number of biz #define MAX_OBJECTS_PER_BIZ 50 // Max amount of object per biz #define MAX_BALANCE 1000000 // Max amount of money in a biz #define MAX_BIZ_NAME MAX_PLAYER_NAME*2 // The max lengh of a biz's name #define INVALID_BIZ_ID (MAX_BIZ+10)*2 // Don't change this
#define ICON_BIZ_CLOSED 19133 #define ICON_BIZ_OPEN 1318 #define ICON_BIZ_PENDING_OPEN 1272 #define ICON_BIZ_PENDING_CLOSED 19523 #define ICON_BIZ_INTERIOR 1239
#define MYSQL_HOST "localhost" #define MYSQL_USER "root" #define MYSQL_DATABASE "myserver" #define MYSQL_PASSWORD ""
- Adding objects system * Adding table 'Biz_Object' * You can add object by modelid, move the position or delete it. - You can use STREAMER plugin for objects - One commands added: * /biz_object - Alias added: * /b_o = /biz_object * /biz = /managebiz * /cinterior = /createinterior - Minor code changes - No bugs found for this version - Let me know if you find anything - You need to delete all table from the previous version to update the filterscript or made SQL code to update them!
biz_system.pwn(66) : warning 201: redefinition of constant/macro (symbol "DIALOG(%0)") biz_system.pwn(701) : warning 202: number of arguments does not match definition biz_system.pwn(701) : warning 202: number of arguments does not match definition biz_system.pwn(822) : warning 202: number of arguments does not match definition biz_system.pwn(822) : warning 202: number of arguments does not match definition biz_system.pwn(822) : warning 202: number of arguments does not match definition biz_system.pwn(850) : warning 202: number of arguments does not match definition biz_system.pwn(873) : warning 202: number of arguments does not match definition biz_system.pwn(878) : warning 202: number of arguments does not match definition biz_system.pwn(878) : warning 202: number of arguments does not match definition biz_system.pwn(938) : warning 202: number of arguments does not match definition biz_system.pwn(938) : warning 202: number of arguments does not match definition biz_system.pwn(938) : warning 202: number of arguments does not match definition biz_system.pwn(965) : warning 202: number of arguments does not match definition biz_system.pwn(965) : warning 202: number of arguments does not match definition biz_system.pwn(965) : warning 202: number of arguments does not match definition biz_system.pwn(1344) : warning 202: number of arguments does not match definition biz_system.pwn(1361) : warning 202: number of arguments does not match definition biz_system.pwn(1418) : warning 202: number of arguments does not match definition biz_system.pwn(1418) : warning 202: number of arguments does not match definition biz_system.pwn(1435) : warning 202: number of arguments does not match definition biz_system.pwn(1435) : warning 202: number of arguments does not match definition biz_system.pwn(1436) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 3884 bytes Code size: 310500 bytes Data size: 773968 bytes Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion Total requirements: 1104736 bytes 23 Warnings. [Finished in 1.3s]
Code:
biz_system.pwn(66) : warning 201: redefinition of constant/macro (symbol "DIALOG(%0)") biz_system.pwn(701) : warning 202: number of arguments does not match definition biz_system.pwn(701) : warning 202: number of arguments does not match definition biz_system.pwn(822) : warning 202: number of arguments does not match definition biz_system.pwn(822) : warning 202: number of arguments does not match definition biz_system.pwn(822) : warning 202: number of arguments does not match definition biz_system.pwn(850) : warning 202: number of arguments does not match definition biz_system.pwn(873) : warning 202: number of arguments does not match definition biz_system.pwn(878) : warning 202: number of arguments does not match definition biz_system.pwn(878) : warning 202: number of arguments does not match definition biz_system.pwn(938) : warning 202: number of arguments does not match definition biz_system.pwn(938) : warning 202: number of arguments does not match definition biz_system.pwn(938) : warning 202: number of arguments does not match definition biz_system.pwn(965) : warning 202: number of arguments does not match definition biz_system.pwn(965) : warning 202: number of arguments does not match definition biz_system.pwn(965) : warning 202: number of arguments does not match definition biz_system.pwn(1344) : warning 202: number of arguments does not match definition biz_system.pwn(1361) : warning 202: number of arguments does not match definition biz_system.pwn(1418) : warning 202: number of arguments does not match definition biz_system.pwn(1418) : warning 202: number of arguments does not match definition biz_system.pwn(1435) : warning 202: number of arguments does not match definition biz_system.pwn(1435) : warning 202: number of arguments does not match definition biz_system.pwn(1436) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 3884 bytes Code size: 310500 bytes Data size: 773968 bytes Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion Total requirements: 1104736 bytes 23 Warnings. [Finished in 1.3s] |
- Adding dynamic custom interiors * Adding table 'Biz_CustomInterior' * You can delete an interior, rename it, change the coordinates - You can use STREAMER plugin * Allows you to create biz in virtual world or interiors different of zero. - New commands also: * /createinterior * /editinterior * /interiorlist - Commands renamed * /biz -> /managebiz - I don't use anymore foreach standalone version! Using ****** foreach include (because of Zeex's compiler). - Minor code changes - No bugs found for this version - Let me know if you find anything - You need to delete all table from the previous version to update the filterscript!
- Adding objects system * Adding table 'Biz_Object' * You can add object by modelid, move the position or delete it. - You can use STREAMER plugin for objects - One commands added: * /biz_object - Alias added: * /b_o = /biz_object * /biz = /managebiz * /cinterior = /createinterior - Minor code changes - No bugs found for this version - Let me know if you find anything - You need to delete all table from the previous version to update the filterscript or made SQL code to update them!
- Using foreach completly - Tiny optimisations - Debug messages removed