Any ideas regarding a way to create this function/idea?
#2

make a table in database like
PHP код:
DROP TABLE IF EXISTS `gangzones`;
CREATE TABLE IF NOT EXISTS `gangzones` (
  `
IDint(11NOT NULL,
  `
Descriptionvarchar(20COLLATE utf8_bin NOT NULL DEFAULT '',
  `
Xvarchar(20NOT NULL DEFAULT '0.0000',//its on string, its better to work in string than float, some issues happening when use float in mysql
  
`Yvarchar(20NOT NULL DEFAULT '0.0000',
  `
cXvarchar(20NOT NULL DEFAULT '0.0000',
  `
cYvarchar(20NOT NULL DEFAULT '0.0000',
  `
Ownedvarchar(20NOT NULL DEFAULT '0',
  
UNIQUE KEY `ID` (`ID`)
); 
and after make a public which on gm on load them, and on gm off save it into mysql, also make a function like to save id of gangzone like SaveGangZone(id), rest go on
Reply


Messages In This Thread
Any ideas regarding a way to create this function/idea? - by RajatPawar - 11.01.2013, 05:42
Re: Any ideas regarding a way to create this function/idea? - by mineralo - 11.01.2013, 10:38

Forum Jump:


Users browsing this thread: 1 Guest(s)