SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Kwarde
Forum: Maps 26/02/2020, 06:35 PM
Replies: 2
Views: 83
Posted By Kwarde
Re: Yacht Interior | Mirsat24

You're missing a link to the code.
If you don't intend to share this, the topic should be inside the next board: https://forum.sa-mp.com/forumdisplay.php?f=21
The current board is for releasing...
Forum: Filterscripts 26/02/2020, 03:35 PM
Replies: 3
[FilterScript] Fix Vehicle [Rcon Only]
Views: 80
Posted By Kwarde
Re: Fix Vehicle [Rcon Only]

Nobody doesn't care? So we all care?

Aside from this a few other notes:

1- There is no check if a player is logged into RCON [IsPlayerAdmin()], so everyone can use the command.
2- Using...
Forum: Scripting Help 26/02/2020, 03:11 PM
Replies: 6
Views: 75
Posted By Kwarde
Re: error while compiling

Even though this post I am posting is notusefull for this topic. Amen!
Forum: Scripting Help 25/02/2020, 02:28 PM
Replies: 4
Views: 137
Posted By Kwarde
Re: Somebody crashing server

Compile with -d3 (or -d2 if you want to keep optimisation (-O1) enabled). That should give more information on what's going on and where precisely. Atleast doesn't seem you have that option enabled...
Forum: Gamemode Scripts 24/02/2020, 04:45 PM
Replies: 135
Views: 20,380
Posted By Kwarde
Re: San Fierro Cops And Robbers

[17:53:37] Loading plugin: sscanf
[17:53:37]

[17:53:37] ===============================

[17:53:37] sscanf plugin loaded.

[17:53:37] Version: 2.8.3

Is your include version 2.8.2 or 2.8.3?
Forum: Scripting Help 21/02/2020, 07:12 PM
Replies: 6
Views: 118
Posted By Kwarde
Re: array index out of bounds

A simple for() loop would do.
https://forum.sa-mp.com/showthread.php?p=4122459
You might want to read about scripting basics.
Forum: Scripting Help 21/02/2020, 03:43 PM
Replies: 9
Views: 164
Posted By Kwarde
Re: SA-MP Scripting help me pls...

You're missing semicolons here and there (;), and
new SQL - -1, qQuery[256]: it should be 'new SQL = -1'

I suggest you to start learning scripting basics first before trying to create things....
Forum: Scripting Help 21/02/2020, 03:39 PM
Replies: 6
Views: 118
Posted By Kwarde
Re: array index out of bounds

Well, first of all, you're just formatting the string using mysql_format(). You're not actually sending the query to the database. Use mysql_tquery().
In the callback you're providing in...
Forum: Scripting Help 21/02/2020, 03:18 PM
Replies: 6
Views: 118
Posted By Kwarde
Re: array index out of bounds

It literally means what it says: Index out of bounds.
fInfo's size is 11 (MAX_FACTIONS). You are trying to access index 11 (in the sscanf() part and in the mysql_format() part).
If you declare an...
Forum: Scripting Help 21/02/2020, 03:13 PM
Replies: 1
Views: 66
Posted By Kwarde
Re: Custom object not loading("?" pickup instead)

0.3.8 doesn't support 0.3.7-DL. You should place these files in your gta_sa_dir/SAMP/custom.img file
Forum: Scripting Help 21/02/2020, 03:05 PM
Replies: 1
Views: 46
Posted By Kwarde
Re: Mysql ORM Thread

Yes. The queries are threaded though.
Forum: Scripting Help 21/02/2020, 02:53 PM
Replies: 1
Views: 90
Posted By Kwarde
Re: Samp server crashes with Signal 6

Did you compile the script with -d3? If not, try that to see if crashdetect can provide more info.
-d2 would do too (-d3 is the same as -d2 (full debug checking) but it also implies -O0; no...
Forum: Scripting Help 21/02/2020, 02:48 PM
Replies: 3
Views: 117
Posted By Kwarde
Re: EOS Question

I do have to alter a few things on above reply.

Yes.

No. You are telling the machine that it is the end of the string. It won't read any data after EOS (also known as the null terminator,...
Forum: Gamemode Scripts 19/02/2020, 01:05 PM
Replies: 135
Views: 20,380
Posted By Kwarde
Re: San Fierro Cops And Robbers

No harm in redownloading plugins and includes (check that post I talked about) and recompiling
Forum: Gamemode Scripts 19/02/2020, 09:53 AM
Replies: 135
Views: 20,380
Posted By Kwarde
Re: San Fierro Cops And Robbers

Getting the same crashlog on a working server, so I can only assume it is something else, and I wouldn't know what that is.
Perhaps try on a diff system, eventually a virtual machine.

You can...
Forum: Gamemode Scripts 18/02/2020, 02:22 PM
Replies: 135
Views: 20,380
Posted By Kwarde
Re: San Fierro Cops And Robbers

Well I have no idea what's up then.
You can ignore the FCNPC crashlog, it usually does that when quitting the gamemode. I will compare it with my fcnpc crashlogs just to be sure.
Forum: Scripting Help 18/02/2020, 09:31 AM
Replies: 2
Views: 83
Posted By Kwarde
Re: how to fix that please help me i'm beginner

Usually this happens when you're using wrong plugins. However that usually is so on Linux systems. I hope you didn't rename .so extensions to .dll extensions? (Assuming you are on windows).
Also...
Forum: Scripting Help 18/02/2020, 09:27 AM
Replies: 7
Views: 119
Posted By Kwarde
Re: ReturnIP issue

You may. Knowledge is well received :)
Forum: Gamemode Scripts 17/02/2020, 02:25 PM
Replies: 135
Views: 20,380
Posted By Kwarde
Re: San Fierro Cops And Robbers

Still nothing at all after joining?
Anything in the ./logs directory?
Forum: Scripting Help 17/02/2020, 09:37 AM
Replies: 7
Views: 119
Posted By Kwarde
Re: ReturnIP issue

LIMIT is unnecessary tho. Assuming ID is either AUTO_INCREMENT or UNIQUE there cannot be two or more rows with the same value in the ID column.

If it is possible then LIMIT could be usefull but...
Forum: Scripting Help 16/02/2020, 09:42 PM
Replies: 7
Views: 119
Posted By Kwarde
Re: ReturnIP issue

I am very sure that that is the issue.
Since it's the "Last Login IP", altering that data when the player logs in is more logical.

EDIT:
https://wiki.sa-mp.com/wiki/GetPlayerIp
Forum: Scripting Help 16/02/2020, 09:26 PM
Replies: 7
Views: 119
Posted By Kwarde
Re: ReturnIP issue

Did you use it under OnPlayerDisconnect? If so, the IP is not available under that callback because the player is already disconnected at that point. Try using it elsewhere (eg. save the IP when a...
Forum: Scripting Help 16/02/2020, 09:23 PM
Replies: 3
Views: 60
Posted By Kwarde
Re: Multiparam Command

What Calisthenics said ^
Alternatively, you can add a return; to break the entire function (in this case, the command). For example (note how I return 1 here, otherwise the script most likely...
Forum: Gamemode Scripts 16/02/2020, 09:19 PM
Replies: 135
Views: 20,380
Posted By Kwarde
Re: San Fierro Cops And Robbers

crashdetect plugin should be loaded before the other plugins. Example:
plugins crashdetect.so mysql_static.so gvar.so regex.so sscanf.so streamer.so Whirlpool.so FCNPC.so sampcac_server.so
Forum: Client Support 16/02/2020, 01:34 PM
Replies: 3
Views: 474
Posted By Kwarde
Re: SAMP won't log me into servers

Are you using GTA SA version 1.00 US/EU?
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 02:02 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.