SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.11 seconds.
Search: Posts Made By: jasperschellekens
Forum: Filterscripts 04/06/2020, 03:52 AM
Replies: 13
Views: 8,840
Posted By jasperschellekens
Re: Ground FLARE System [ For Cops ] [ Good For Roleplay ]

You replied on something from 8 years ago. Idoubt the OP can even remember this issue lol
Forum: Scripting Help 04/06/2020, 03:30 AM
Replies: 20
Views: 471
Posted By jasperschellekens
Re: Server is crashing

Yes it is. You are trying to access an invalid vehicle id(my assumption cus the array size is 2k).
You will want to look for timers in your script that handles vehicles and you might want to add...
Forum: Scripting Help 04/06/2020, 03:24 AM
Replies: 2
Views: 61
Posted By jasperschellekens
Re: How do I make a system to see the fps?

https://wiki.sa-mp.com/wiki/SetPlayerDrunkLevel
Forum: Scripting Help 04/06/2020, 03:22 AM
Replies: 14
Views: 169
Posted By jasperschellekens
Re: Ban System

The fact that you think that proves my point even more lol
Forum: Scripting Help 03/06/2020, 11:58 PM
Replies: 12
Views: 141
Posted By jasperschellekens
Re: another backtrace

try this:

if(PlayerInfo[playerid][inDuel] == 1)
{
if(PlayerInfo[playerid][Duelingto] >= 0) {
new id = PlayerInfo[playerid][Duelingto], Float:health, Float:armour,...
Forum: Scripting Help 03/06/2020, 11:43 PM
Replies: 4
Views: 79
Posted By jasperschellekens
Re: Problem with dialog listitem

What about this?

if (!InventoryData[playerid][i][invExists])
{
format(string, sizeof(string), "%s \n", string);
}


You are formatting an empty string into a string? I don't get the...
Forum: Scripting Help 03/06/2020, 11:32 PM
Replies: 14
Views: 169
Posted By jasperschellekens
Re: Ban System

You guys are only making it worse for him lmao..

You should revert everything to your original code and don't listen to these guys.

Now when you have done that,
first of all. You already have...
Forum: Scripting Help 03/06/2020, 11:15 PM
Replies: 5
Views: 103
Posted By jasperschellekens
Re: checkip

Also another thing, 256 characters at maximum would mean wasted cell use when there is only 1 name, and there would be to less if there are more than 5 names.
What you could do here is:

new ...,...
Forum: Scripting Help 03/06/2020, 09:24 PM
Replies: 5
Views: 103
Posted By jasperschellekens
Re: checkip

This can be done way more efficient.


forward IpInfo(playerid, ip[]);
public IpInfo(playerid)
{
new rows;
cache_get_row_count(rows);
if(rows == 0) return...
Forum: Scripting Help 03/06/2020, 09:15 PM
Replies: 10
Views: 122
Posted By jasperschellekens
Re: Save/Load Mysql positions

It's caused by your second parameter.
Are you using DL?
Try this:

// OnPlayerConnect
SetPlayerWorldBounds(playerid, 20000, -20000, 20000, -20000);

...
Forum: Scripting Help 03/06/2020, 08:38 PM
Replies: 6
Views: 133
Posted By jasperschellekens
Re: Help with preview model textdraw

It was a good one though, but hey... Do you have the n-pass nibba?
Forum: Scripting Help 03/06/2020, 08:14 PM
Replies: 1
Views: 38
Posted By jasperschellekens
Object rotation problem

Hi everyone, I am creating a poker table filterscript which comes with 4 seats that are created as objects.

My problem is that it looks off if the Z axis rotation for the table is not 0.
Here is...
Forum: Scripting Help 31/05/2020, 04:23 PM
Replies: 6
Views: 107
Posted By jasperschellekens
Re: [ERROR] exception 0XC0000005 (ACCESS_VIOLATION) from Vectored Exception Handler catched; shutting log-core down

Well when did this problem start happening?
Which queries did you add / change prior to this problem?
If you don't have the answer for that then all you can do is go through every single one of...
Forum: Filterscripts 31/05/2020, 03:13 PM
Replies: 21
Views: 7,298
Posted By jasperschellekens
Re: Advanced Spectating Filterscript

I really like this but somehow it is conflicting with my gamemode as in randomly killing me on spawn.
Any idea on how to fix that?
Forum: Scripting Help 30/05/2020, 11:19 AM
Replies: 2
Views: 103
Posted By jasperschellekens
Re: how can i open my pc ports to host a samp server

Hello there.
I think I can help you on your way.

Hit the windows button + r and type CMD.
Now type ipconfig. And look for this:
https://snipboard.io/GRDCcx.jpg
You can see 192.168.178.xx which...
Forum: Scripting Help 30/05/2020, 11:10 AM
Replies: 5
Views: 138
Posted By jasperschellekens
Re: warning 224: indeterminate array size in "sizeof" expression (symbol "max_len")

It would really help if you tell us which line is the error line.

Also, not sure how your include works, but strreplace has 3 parameters and I'm not sure about this but it looks to me that it...
Forum: Scripting Help 29/05/2020, 12:14 PM
Replies: 5
Views: 161
Posted By jasperschellekens
Re: Pamdex Pathfinder and streamer(objects)

Thank you for the information.
I've been searching on how to do it and then I stumbled onto this:
https://github.com/Fleynaro/PathFinderCA/tree/24195e465d474ee1694df88bcfde4ccd35325949

This...
Forum: Scripting Help 29/05/2020, 10:57 AM
Replies: 5
Views: 85
Posted By jasperschellekens
Re: backtrace

Yeah that's something that annoys me too. People posting large piles of shitcode without any expanation or whatsoever...
The quality of posts on sa-mp forums have reduced drastically.

What this...
Forum: Server Support 29/05/2020, 10:05 AM
Replies: 2
Views: 186
Posted By jasperschellekens
Re: SAMP SERVER 0.3.7-R2 [DDOS THEN CRASH]

If you know who the person is you can look into dropping charges against them as hacking/ddosing is illegal. He might get a nice sentence from that, maybe you can also scare him off with that. Tell...
Forum: Scripting Help 29/05/2020, 08:25 AM
Replies: 8
Views: 158
Posted By jasperschellekens
Re: Spawn button... skipping it with Spectating doesn't work

I've had this issue.

This should do it:

public OnPlayerRequestClass(playerid,classid)
{
SpawnPlayer(playerid);
return 1;
}
Forum: Scripting Help 28/05/2020, 04:40 PM
Replies: 5
Views: 117
Posted By jasperschellekens
Re: Problem in editing Cache Login/register system by BlueG

I don't think you need a threaded query for what you are doing at all..


mysql_query(HSQL, gQuery);
Forum: Scripting Help 28/05/2020, 02:00 PM
Replies: 3
Views: 61
Posted By jasperschellekens
Re: How to activate a timer

if(test[playerid] == 1) // Run the timer here, e.g SetTimer and the timer is only activated when player var is 1
Forum: Scripting Help 28/05/2020, 11:38 AM
Replies: 5
Views: 161
Posted By jasperschellekens
Re: Pamdex Pathfinder and streamer(objects)

ColAndreas is certainly an option for me, but I'm not sure if it's an option for Pathfinder.

This is how Pathfinder is initiated using a MapAndreas address:
...
Forum: Scripting Help 27/05/2020, 06:17 PM
Replies: 6
Views: 120
Posted By jasperschellekens
Re: pairing system

You could use foreach for this.


new Var[MAX_PLAYERS];

foreach(new i:Player)
{
if(Var[i] == 123) {
// Do something for players that has Var set to 123
}
Forum: Scripting Help 27/05/2020, 03:01 PM
Replies: 5
Views: 94
Posted By jasperschellekens
Re: Vehicles falling down on CreateObject custom model

Does it happen right after the vehicle is created?
What you could do is add a timer that checks if the vehicle is falling ( z axis decreasing) and if that happens teleport it back to it's last...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 08:06 AM.


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