- 0
Problema MySQL
-
Similar Content
-
- 1 answer
- 380 views
-
- 8 answers
- 818 views
-
Problema billboards (la expirarea billboard-ului nu seteaza variabila Billboard 0 jucatorului offline)
By cstef4n,
- 2 answers
- 603 views
-
Gamemode Hardgaming Versiunea a 4-a (no-mysql) 1 2
By n0dEv,
- luatil cai kald.
- hardgaming v4
- (and 90 more)
- 42 replies
- 12.077 views
-
- 7 answers
- 2.925 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.

Question
C0oL3r
Salut, am o problema cu serverul, am facut sa imi arate cand intru pe server "CHECKING BAN STATUS..." pentru 3 secunde si dupa aceea sa imi arate dialogul de login/register si dupa 3 secunde se inchide server-samp.exe
Codul:
{
GetPlayerName(playerid, pInfo[playerid][Name], MAX_PLAYER_NAME);
Corrupt_Check[playerid]++;
pInfo[playerid][RemainingAtt] = 3;
GameTextForPlayer(playerid, "~r~CHECKING BAN STATUS...", 3000, 3);
SetTimer("OnPlayerChecked", 3000, 0);
return 1;
}
public OnPlayerChecked(playerid)
{
new DB_Query[115];
mysql_format(Database, DB_Query, sizeof(DB_Query), "SELECT * FROM `users` WHERE `Username` = '%e' LIMIT 1", pInfo[playerid][Name]);
mysql_tquery(Database, DB_Query, "OnPlayerDataCheck", "ii", playerid, Corrupt_Check[playerid]);
TextDrawShowForAll(Text:blackbox);
}
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now