Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Help, Fast!

$
0
0
Quote:

F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(6129) : error 035: argument type mismatch (argument 3)
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(6130) : error 017: undefined symbol "mysql_tquery"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(6172) : error 017: undefined symbol "mysql_tquery"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(6308) : error 017: undefined symbol "mysql_tquery"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(6334) : error 017: undefined symbol "mysql_tquery"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(6359) : error 017: undefined symbol "mysql_tquery"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(12706) : error 017: undefined symbol "mysql_escape_string"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(13633) : warning 235: public function lacks forward declaration (symbol "OnVehicleSirenStateChange")
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(13638) : warning 235: public function lacks forward declaration (symbol "OnTrailerUpdate")
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(13658) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamageActor")
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(23642) : warning 202: number of arguments does not match definition
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(35930) : error 017: undefined symbol "mysql_tquery"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(35933) : error 017: undefined symbol "mysql_tquery"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(59786) : error 017: undefined symbol "mysql_escape_string"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(59815) : error 017: undefined symbol "mysql_escape_string"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(59963) : error 017: undefined symbol "mysql_escape_string"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(59988) : error 017: undefined symbol "mysql_escape_string"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(61315) : error 017: undefined symbol "mysql_escape_string"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(61316) : error 017: undefined symbol "mysql_escape_string"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(61362) : error 035: argument type mismatch (argument 3)
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(61460) : error 017: undefined symbol "mysql_escape_string"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(61489) : error 017: undefined symbol "mysql_escape_string"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(61509) : error 017: undefined symbol "mysql_escape_string"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(61536) : error 017: undefined symbol "mysql_escape_string"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(61637) : error 017: undefined symbol "mysql_escape_string"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(61675) : error 017: undefined symbol "mysql_escape_string"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(61872) : error 017: undefined symbol "mysql_escape_string"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(61873) : error 017: undefined symbol "mysql_escape_string"
F:\SA-MP server\credit goes to mason\ogg\gamemodes\oggrp26.pwn(63848) : error 017: undefined symbol "mysql_escape_string"
Code:

stock LoadBackPackData(playerid)//load player backpack from database
{
        new query[150];
        mysql_format(MainPipeline, query, sizeof(query), "SELECT * from `backpack` WHERE `pid` = '%d'", GetPlayerSQLId(playerid));//6129
        mysql_tquery(MainPipeline, query, "BackPackLoad", "d", playerid);//6130
        return 1;
}

this is an example of the tquery

Code:

IsValidName(iPlayer) {

        new
                iLength,
                szPlayerName[MAX_PLAYER_NAME], tmpName[MAX_PLAYER_NAME];

        GetPlayerName(iPlayer, szPlayerName, sizeof(szPlayerName));

        mysql_escape_string(szPlayerName, tmpName);//12706
        if(strcmp(szPlayerName, tmpName, false) != 0)
        {
                return 0;
        }
        iLength = strlen(szPlayerName);

example of mysql_escape_string

Code:

                mysql_format(MainPipeline, query, sizeof(query), "SELECT * FROM `accounts` WHERE `IP` = '%e'", params);//Line 61362

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>