- 0
sampmysql - libmysql
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Bladex
Asa am la login, sub el lastlogin:
[pawn] new lastlogin[64];
lastlogin = PlayerInfo[playerid][pLastLogin];
format(loginstring,sizeof(loginstring),"{BECBFC}Welcome back, {95A3FF}%s{BECBFC}!\n\nPlease enter your password below to login to your account. \n\n{FFFFFF}*Last Login: %s*",loginname,lastlogin);
ShowPlayerDialog(playerid,12346,DIALOG_STYLE_INPUT,"Login",loginstring,"Login","Exit");[/pawn]
si la onplayerlogin:
[pawn] new string[256];
new dd,mm,yy;
new ore,mn,sec;
getdate(yy,mm,dd);
gettime(ore,mn,sec);
format(string,sizeof(string), "%d/%d/%d %d:%d:%d",dd,mm,yy,ore,mn,sec);
strmid(PlayerInfo[playerid][pLastLogin], string, 0, strlen(string), 255);
[/pawn]
iar cand intru la last login imi apare: Streamer_OnplayerConnect =>>> http://postimage.org/image/uzuazme0f/
Link to comment
Share on other sites
2 answers to this question
Recommended Posts