Search Results
http://forum.sa-mp.com/showpost.php?...35&postcount=5
Quote:
Originally Posted by Konstantinos
About mysql, you've loaded R41-4 but the script still uses cache_get_field_content which...
127
https://github.com/Zeex/samp-plugin-...ith-debug-info
Do the steps above, re-compile and start the server. Connect and wait for the new logs. It's probably either log or DOF2 related.
The reason of ...
103
http://forum.sa-mp.com/showpost.php?...32&postcount=4
281
isnull is already defined in YSI so don't re-define it in your script. There might be an include that re-defines it though so if there is, you can remove that line.
As for the warning, ****** did ver...
365
Nothing, I just linked you so you can see that it uses format instead of valstr to avoid the crash. It seems like it cannot read correctly so:
Re-download ysi 4 (https://github.com/Misiur/YSI-Includ....
365
VIPTIME in enumerator is integer and not a string; thus the error. The solution is simple - update to latest version of YSI 4 and use INI_WriteInt function.
valstr crashes on high numbers but it has ...
365
Iter_Init should be called once when the mode starts (in OnGameModeInit/OnFilterScriptInit). If you use the latest version of YSI 4, a player can belong to only 1 job so you can use the optimized vers...
70
http://forum.sa-mp.com/showpost.php?...&postcount=480
http://forum.sa-mp.com/showpost.php?...&postcount=482
162
Quote:
Originally Posted by JulianWilliams
Update please see above
You haven't re-compiled all scripts that use streamer yet. Take a closer look:
Quote:
Streamer Plugin: Inc...
285
Now you should follow Ritzy's advice to re-compile all scripts that use streamer to fix this problem.
285
He has loaded nativechecker as the last plugin and he did not received a warning about version mismatch so the problem is clear here. The versions he had loaded are not correct.
Streamer version 2.5....
285
I didn't notice this earlier, change this line from the code inside the loop:
pawn Код:
if (PlayerInfo[i][team] != TEAM_LSDOS)
to:
pawn Код:
if (PlayerInfo[playerid][team] != TEAM_LSDOS)
109
Don't use numbers like this as it causes more problems in the long run. Use sizeof operator. You also forgot to close a bracket on the first loop.
Код:
for (new i = 0; i < sizeof GSFcar; i++)
...
109
While OneDay's solution allows multiple letters to be used at once, for a simpler way of just M/K (or m/k) at the end, you can use custom sscanf specifier as well:
pawn Код:
SSCANF:money(k_string[...
137
Except the missing single quote that gave syntax error after modifying it, the query itself is working. The problem of not updating the database is that you never assign the new value to the variables...
291
Код:
CMD:thaluoi(playerid, params[])
{
if (!IsABoat(GetPlayerVehicleID(playerid)))
{
if (PlayerInfo[playerid][pLuoica] >= 1)
{
PlayerInfo[playerid][pLuoica] ...
119
UpdatePlayerData uses Player[playerid][Skin_Player] and Player[playerid][Cash] in mysql_format which are both 0 because you didn't set any value in /setskin or /givemoney commands before calling the f...
291
Code:
"UPDATE `players` SET `skin_player` = '%d', `cash` = '%d' WHERE `id` = '%d' LIMIT 1"
Wrap the values inside ' ' when using strings. Integers and floating-point numbers are unnecessary. Also if ...
291
YSI hooks the function correctly so the problem is in another include that defines these four vehicle functions and just reports the first include found. I've seen many complains about those includes ...
138
A string (array) should have a constant size to store any data (text). A player's name can be up to 24 characters and so is defined. However, you will receive an error for rejected nickname if length ...
89