Setting players money / skin / level to 0 upon registering.
#3

Ofc, created table.. these are the default values.. they get added to the Table ok..

pawn Код:
mysql_query("ALTER TABLE PlayerInfo ADD curmoney SMALLINT(10) UNSIGNED NOT NULL DEFAULT 1000");
pawn Код:
mysql_query("ALTER TABLE PlayerInfo ADD playerlvl SMALLINT(5) UNSIGNED NOT NULL DEFAULT 1");
pawn Код:
mysql_query("ALTER TABLE PlayerInfo ADD Skin SMALLINT(5) UNSIGNED NOT NULL DEFAULT 7");

Image of PHPMySQL:

Money & Level:




Skin:
Reply


Messages In This Thread
Setting players money / skin / level to 0 upon registering. - by Brandon_More - 17.11.2013, 20:54
Re: Setting players money / skin / level to 0 upon registering. - by StuartD - 17.11.2013, 21:00
Re: Setting players money / skin / level to 0 upon registering. - by Brandon_More - 17.11.2013, 21:06
Re: Setting players money / skin / level to 0 upon registering. - by DeStunter - 17.11.2013, 21:25

Forum Jump:


Users browsing this thread: 1 Guest(s)