SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 83
Search took 0.00 seconds.
Search: Posts Made By: pollo97
Forum: Scripting Help 18/04/2020, 04:59 PM
Replies: 2
Views: 133
Posted By pollo97
Re: MYSQL - How to SELECT from different tables?

I haven't tested it, but should works.


SELECT U1.userid, U1.name, B.adminid, U2.name AS adminName FROM user AS U1 JOIN (ban AS B JOIN user AS U2 ON B.adminid = U2.userid) ON U1.userid = B.userid
Forum: Scripting Help 27/03/2020, 10:57 AM
Replies: 2
Views: 79
Posted By pollo97
Re: Issue on creating DynamicObject using y_hooks

I made as you said in my second attempt but I'd like to know why write the map under the hook of OnGameModeInit doesn't work. There is something I don't know about the hooks?

(Btw thank you for...
Forum: Scripting Help 27/03/2020, 09:33 AM
Replies: 2
Views: 79
Posted By pollo97
Issue on creating DynamicObject using y_hooks

Hi to everyone!
I'm programming using modules and in a first try I separeted my maps in three different files, hooking those to OnGameModeInit callback, but I noticed that only 1000 out of 1300...
Forum: Scripting Help 27/02/2020, 11:32 AM
Replies: 3
Views: 280
Posted By pollo97
Re: #include doesn't include

It's working :) but why?
If I change also the core's inclusion in this way:

#include "/core/systems/connection/login/core.pwn"
#include "/core/systems/connection/login/functions.pwn"


It...
Forum: Scripting Help 26/02/2020, 07:59 PM
Replies: 3
Views: 280
Posted By pollo97
#include doesn't include

Hi to everyone, i'm creating a project using the modular programming technique and I got this error:


core/systems/connection/login/core.pwn(6) : error 017: undefined symbol "InitializeForLogin"...
Forum: Server Support 14/02/2020, 03:48 PM
Replies: 6
Views: 801
Posted By pollo97
Re: Server running on Debian 10 get segmentation fault

I can't, OVH offers only 64 bit unix systems.
Forum: Server Support 11/02/2020, 04:49 PM
Replies: 6
Views: 801
Posted By pollo97
Re: Server running on Debian 10 get segmentation fault

I'm using OVH VPS for testing and they've got only UNIX x64 :(
Forum: Scripting Help 03/02/2020, 03:33 PM
Replies: 3
Views: 171
Posted By pollo97
Re: Help with player orientation when entering interior

First you've to change the function parameters of "CreateEntrance" into something like this:

...
Forum: Scripting Help 02/02/2020, 07:26 AM
Replies: 3
Views: 171
Posted By pollo97
Re: Help with player orientation when entering interior

As far as i know, there isn't a way do to automatically. So for every interior, in addition to XYZ coordinates, i save also the player facing angle.

Btw i think it's the wrong section.
Forum: Server Support 01/02/2020, 02:48 PM
Replies: 6
Views: 801
Posted By pollo97
Hi to everyone. I'm trying to setup the server...

Hi to everyone.
I'm trying to setup the server on Debian 10 and it keep crashing with this output:

nohup: ignoring input and appending output to 'nohup.out'
Segmentation fault

I tried to find...
Forum: Scripting Help 01/02/2020, 02:26 PM
Replies: 5
Views: 295
Posted By pollo97
Re: easyDialog.inc exceed heap size

Thank you very much for the help!
Forum: Scripting Help 28/01/2020, 03:02 PM
Replies: 5
Views: 295
Posted By pollo97
easyDialog.inc exceed heap size

Hi to everyone.

I've got a lot of dialog inside OnDialogResponse, so for making order and optimize some code i decide to include easyDialog.
Now here the problem, when i compile without...
Forum: Server Support 17/02/2018, 08:56 AM
Replies: 2
Views: 462
Posted By pollo97
Re: My server is online but result offline

Solved, I found an option to enable the 7777 port on the ovh control panel.
Forum: Server Support 17/02/2018, 07:41 AM
Replies: 2
Views: 462
Posted By pollo97
My server is online but result offline

Hi everyone,
my server is hosted in a dedicated server for game by OVH.
The problem is weird, because only when I connect to server from the user control panel(hosted in the same server of SAMP),...
Forum: Scripting Help 25/01/2018, 05:52 PM
Replies: 4
Views: 537
Posted By pollo97
Re: Detect player throwing grenades

Probably you should use OnPlayerWeaponShot, checking if weapon is grenade, but I have not test yet.
Forum: Scripting Help 10/01/2018, 02:37 PM
Replies: 5
Views: 533
Posted By pollo97
Forum: Scripting Help 07/01/2018, 09:26 PM
Replies: 4
Views: 1,005
Posted By pollo97
Re: Server:Unknown command.

You used the command?
If crashdetect doesn't work you must check manually on for cycle using printf. The problem should probably there.


print("%d",i);

See when the cycle stop.
Forum: Scripting Help 07/01/2018, 03:51 PM
Replies: 4
Views: 1,005
Posted By pollo97
Re: Server:Unknown command.

Probably it's cause from array out of bound error.
Try to install this plugin: https://github.com/Zeex/samp-plugin-crashdetect
After use the command and see if in the console show up some error.
...
Forum: Scripting Help 04/01/2018, 10:05 PM
Replies: 1
Views: 268
Posted By pollo97
Question about weapon anticheat

Hi everyone,
I created a weapon anticheat that every 1.5 second check the player weapons with the server side data.
If I have a lot of people connected, it can cause lag? And, which type of...
Forum: Scripting Help 04/01/2018, 01:43 PM
Replies: 5
Views: 2,810
Posted By pollo97
Re: Getplayerid

Well, you need to get the param.
You must put before GetPlayeridFromName this: sscanf(params("s[24]",name));
Forum: Scripting Help 02/12/2017, 09:11 AM
Replies: 2
Views: 347
Posted By pollo97
Re: Creating function to send to law enforcement only

Can you paste the variables definition?
Forum: Server Support 01/12/2017, 08:26 AM
Replies: 5
Views: 981
Posted By pollo97
Re: Automated backup?

I personally use Iperius Backup, you can set a lot of things like scheduled backups, the name format of compressed output or choose a program that start every time the backup finish (for example, i...
Forum: Scripting Help 25/11/2017, 08:47 PM
Replies: 4
Views: 1,505
Posted By pollo97
Re: Dialog spoofing

It works? Because I read of lot of people having issues, can I use it?
Forum: Scripting Help 25/11/2017, 07:11 PM
Replies: 4
Views: 1,505
Posted By pollo97
Re: Dialog spoofing

Thank you :)
Forum: Scripting Help 25/11/2017, 05:42 PM
Replies: 4
Views: 1,505
Posted By pollo97
Dialog spoofing

I heard about this issue and I want to understand more about how it works and if it's possible to avoid.

Thanks in advance.
Showing results 1 to 25 of 83

 

All times are GMT. The time now is 07:14 PM.


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