C:\Users\Emir\Desktop\SAMP SERVER\gamemodes\emir.pwn(95) : error 001: expected token: "-identifier-", but found "("
C:\Users\Emir\Desktop\SAMP SERVER\gamemodes\emir.pwn(98) : error 010: invalid function or declaration
C:\Users\Emir\Desktop\SAMP SERVER\gamemodes\emir.pwn(102) : error 021: symbol already defined: "mysql_format"
C:\Users\Emir\Desktop\SAMP SERVER\gamemodes\emir.pwn(106) : error 021: symbol already defined: "mysql_pquery"
C:\Users\Emir\Desktop\SAMP SERVER\gamemodes\emir.pwn(107) : error 010: invalid function or declaration
C:\Users\Emir\Desktop\SAMP SERVER\gamemodes\emir.pwn(113) : warning 215: expression has no effect
C:\Users\Emir\Desktop\SAMP SERVER\gamemodes\emir.pwn(292) : warning 219: local variable "query" shadows a variable at a preceding level
C:\Users\Emir\Desktop\SAMP SERVER\gamemodes\emir.pwn(306) : warning 219: local variable "query" shadows a variable at a preceding level
C:\Users\Emir\Desktop\SAMP SERVER\gamemodes\emir.pwn(402) : warning 203: symbol is never used: "query"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
[list=1][*]stock SaveUserStats(playerid)
[*]{
[*] //Wenn der Spieler nicht eingeloggt ist, dann speichere seine Statistiken nicht
[*] if(!PlayerInfo[playerid][pLoggedIn]) return 1;
[*]
[*] //Ansonsten speichere sie
[*] new query[256];
[*] mysql_format(handle, query, sizeof(query), "UPDATE users SET level = '%d', money = '%d', kills = '%d', deaths = '%d' WHERE id = '%d'",
[*] PlayerInfo[playerid][pLevel], PlayerInfo[playerid][pMoney], PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths], PlayerInfo[playerid][p_id]);
[*]
[*] //Das Query wird abgesendet
[*] mysql_pquery(handle, query);
[*] return 1;
[*]}
[/list]
Kann mir wer helfen
Grüsse