SA-MP Forums Archive
Values - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Values (/showthread.php?tid=600404)



Values - K0P - 07.02.2016

What should be their values?
I am new to creating tables

http://imgur.com/og9SdfU


Re: Values - AbyssMorgan - 07.02.2016

accountid int atribute unsigned, index primary, A_I select

length can give 11 for int
last login select to TIMESTAMP
IP length 16

the default you can specify default values


Re: Values - K0P - 07.02.2016

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
accountid int atribute unsigned, index primary, A_I select

length can give 11 for int
last login select to TIMESTAMP
IP length 16

the default you can specify default values
What about the score?


Re: Values - mirou123 - 07.02.2016

It depends on the type of your server if it's RP scores wouldn't really go into the 4 digits for example. So just set it to something reasonable like from 6 to 8 and same for kills and deaths or you could leave them empty for default values (11 for int)


Re: Values - K0P - 07.02.2016

Quote:
Originally Posted by mirou123
Посмотреть сообщение
It depends on the type of your server if it's RP scores wouldn't really go into the 4 digits for example. So just set it to something reasonable like from 6 to 8 and same for kills and deaths or you could leave them empty for default values (11 for int)
But what about the "God" "Gos"....
Which have only 1 or 0 value

Also what valuse should i enter for account id,it can reach in millions


Re: Values - mirou123 - 07.02.2016

Set it to 1