SA-MP Forums Archive
Is it possible? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Is it possible? (/showthread.php?tid=97023)



Is it possible? - uhumaham - 12.09.2009

that when somebody registers and has an account,after not using his own account for 20 days,the account will be automaticly deleted.
How?


Re: Is it possible? - CJ101 - 12.09.2009

save the last day he was on the server to his account, and compare it to the current day.


Re: Is it possible? - uhumaham - 12.09.2009

Quote:
Originally Posted by cj101
save the last day he was on the server to his account, and compare it to the current day.
But it's still not the way like I tought..I tought about a script which will count the first day when he registered (created account) and to the late day to 20.


Re: Is it possible? - uhumaham - 12.09.2009

Help?


Re: Is it possible? - gotenks918 - 12.09.2009

using a database like sqlite which is not integrated in to sa-mp will make your life a lot easier for creating an inactivity check.


Re: Is it possible? - x-unit - 12.09.2009

Yeah the sqlite can work but it's a bit hard for begginers...


Re: Is it possible? - uhumaham - 12.09.2009

Wow, never heard about it
I have no idea how to solve it or even write it.


Re: Is it possible? - gotenks918 - 12.09.2009

There's some documentation on wiki sa-mp.

https://sampwiki.blast.hk/wiki/SQLite


Re: Is it possible? - uhumaham - 12.09.2009

Quote:
Originally Posted by gotenks918
There's some documentation on wiki sa-mp.

https://sampwiki.blast.hk/wiki/SQLite
Not much..
Can somebody write me the code PLEASE?




Re: Is it possible? - uhumaham - 12.09.2009

Nobody knows? OMG


Re: Is it possible? - gotenks918 - 12.09.2009

There are examples on the wiki page, although it does help if you have prior knowledge of databases or query's from previous experiences.


Re: Is it possible? - uhumaham - 12.09.2009

Quote:
Originally Posted by gotenks918
There are examples on the wiki page, although it does help if you have prior knowledge of databases or query's from previous experiences.
sure which I don't have.


Re: Is it possible? - aspire5630 - 12.09.2009

Quote:
Originally Posted by uhumaham
Quote:
Originally Posted by gotenks918
There are examples on the wiki page, although it does help if you have prior knowledge of databases or query's from previous experiences.
sure which I don't have.
Well then your not going to find out, Atleast have manners instead of getting everyone else to do it.
And then when noone replys just bumping / spamming the topic.

Its stupid.


Re: Is it possible? - Enzo_Ferrari_V12 - 12.09.2009

Wuhhh? lol I just spammed and bumped our topic to death. lol you make me feel bad.


Re: Is it possible? - uhumaham - 12.09.2009

Quote:
Originally Posted by [KG
Nikere ]
Wuhhh? lol I just spammed and bumped our topic to death. lol you make me feel bad.
Wuuh yeah Act a smart ass please
I really need help that's why I'm 'bumbing' and i did that once. not 100x times.
help please!!!