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` (
  `
ID` int(11) NOT NULL,
  `
Description` varchar(20) COLLATE utf8_bin NOT NULL DEFAULT '',
  `
X` varchar(20) NOT NULL DEFAULT '0.0000',//its on string, its better to work in string than float, some issues happening when use float in mysql
  
`Y` varchar(20) NOT NULL DEFAULT '0.0000',
  `
cX` varchar(20) NOT NULL DEFAULT '0.0000',
  `
cY` varchar(20) NOT NULL DEFAULT '0.0000',
  `
Owned` varchar(20) NOT 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: