Search Results
For my code, I have pawn Код: if(sscanf(params, "s[32]i", Option, ID)) for most of the sub commands of the command I have. However, one of the sub commands I have require more than Option and ID...
37
https://sampwiki.blast.hk/wiki/SpawnPlayer -
111
This code constantly returns 0, and I dont know why. pawn Код: if(CompareStrings(Option, "joinrank"))    {if(sscanf(params, "i", RankID))        {               if(PlayerInfo[player...
63
Yeah, you would think so, right? I increased the string several times. Currently its 1056. And yet, thats still the same thing.
159
Quote: [02/16/14 14:42:31] Error (0): Could not execute query. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to ...
159
Quote: [02/16/14 11:28:35] Error (0): Could not execute query. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to ...
159
The logs from that - Quote: [02/16/14 09:25:46] Function: 'mysql_query' executed: "SELECT * FROM `bans` WHERE `Username` = 'Raul Mendoza'" with result: "0". [02/16/14 09:25:46] Function:...
186
When a player connects with a character that is already ban, it doesn't do nothing. pawn Код: new ban[128], DataString[156];    // Banning System    format(ban, sizeof(ban), "SELECT * FROM `b...
186
I had it wrong, my bad, this is the correct one: pawn Код: public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){    if(dialogid == DIALOGWEAPONS)    {        if(res...
161
It's alot of lines, but heres the IP stuff: Saving: pawn Код: new IP[16];        GetPlayerIp(playerid, IP, sizeof(IP));        strmid(PlayerInfo[playerid][pIP], IP, 0, strlen(IP), 255); ...
97
Try this: pawn Код: public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){    if(dialogid == DIALOGWEAPONS)    {        if(response)        {            s...
161
I've had this happen before but I forgot how I fixed it. I set the player's IP, and it saves as pIP. However, it doesn't save in the MySQL DB as the IP. And when I type a command to retrieve the I...
97
I've switched over to my VPS, got a teamspeak installed, and then I put sa-mp files there and extract it and what not. However, everytime I try running the server, the server wont run, either file is...
86
The MySQL connection is indeed successful, if it wasn't, it wouldn't be getting accounts out the database.
305
Quote: Originally Posted by alex9419 I would recommend updating to the latest version of the plugin, then. https://github.com/pBlueG/SA-MP-MySQL/releases/tag/R35 EDIT: pawn Код: new ...
305
Other plugin wasn't storing result after fetching, however their is mysql store if account is there. pawn Код: format( Query, sizeof( Query ), "SELECT * FROM `Accounts` WHERE `UserID` = '%d'", Pla...
305
I' have an old outdated plugin that I been using for awhile now, I decided to update to BlueG. However, fetching rows aren't right and I'm not sure why, It's 3am in the morning and I have no clue. ...
305
pawn Код: if(strcmp(Option, "joinrank", true) == 0)        {            if(sscanf(params, "n", RankID))            {                if(PlayerInfo[playerid][pRank] >= 2)Â...
96
I tried sending you a PM, but couldn't, could you add me on skype? eliteapple1337
126