SA-MP Forums Archive
Some help - 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: Some help (/showthread.php?tid=632698)



Some help - Despacito - 17.04.2017

I'm getting argument tag mismatch at this lines:

pawn Код:
new bankey = DB::RetrieveKey(gGlobal[s_bantable], "name", ReturnPlayerName(target));
pawn Код:
new bankey = DB::RetrieveKey(gGlobal[s_bantable], "name", ReturnPlayerName(playerid);
    if(bankey == DB_INVALID_KEY)
    {
        bankey = DB::RetrieveKey(gGlobal[s_bantable], "ip", ReturnPlayerIP(playerid);
    }
What's wrong?