SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 454
Search took 0.01 seconds.
Search: Posts Made By: Proxus
Forum: Scripting Help 05/08/2020, 10:00 AM
Replies: 7
Views: 104
Posted By Proxus
Re: Close each other

It's fairly simple so anyone that takes payment for that is trying to grab your money.

public OnPlayerText(playerid, text[])
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x,...
Forum: Scripting Help 04/08/2020, 11:10 PM
Replies: 7
Views: 104
Posted By Proxus
Re: Close each other

What's the context in this case though? What are you trying to do that requires you to check for a player nearby?

If you need to check if any player is nearby, you could loop through all players...
Forum: Scripting Help 04/08/2020, 10:38 PM
Replies: 7
Views: 104
Posted By Proxus
Re: Close each other

If you get the other player's position then you can put playerid there. You can't get Player1's position and check if he's near them (because it'll always be true because he is Player1). You need to...
Forum: Scripting Help 04/08/2020, 10:10 PM
Replies: 1
Views: 45
Posted By Proxus
Re: getfactionmembers and getfactionleader

cache_get_row_count's only parameter is a destination to store the number of rows.
For example:
new rows;
cache_get_row_count(rows);
Forum: Scripting Help 04/08/2020, 10:02 PM
Replies: 7
Views: 104
Posted By Proxus
Re: Close each other

Get the player's position with GetPlayerPos and use this function to check if they're near: IsPlayerInRangeOfPoint.

For example:
new Float:x, Float:y, Float:z;

// Get the player's position...
Forum: Scripting Help 04/08/2020, 07:01 PM
Replies: 12
Views: 225
Posted By Proxus
Re: Errors

What error do you get?
Forum: Scripting Help 04/08/2020, 03:59 PM
Replies: 12
Views: 225
Posted By Proxus
Re: Errors

Looks right. Fairly hard to see it without the context of the code above it (without skimming between the code showed earlier and this) but yeah, it should return 0 and the dialogs should return 1.
Forum: Scripting Help 04/08/2020, 03:38 PM
Replies: 12
Views: 225
Posted By Proxus
Re: Errors

OnDialogResponse should return 0 in its function (not the dialogs, the function itself), instead of 1.
Forum: Server Support 03/08/2020, 06:59 PM
Replies: 15
Views: 529
Posted By Proxus
Re: Ban System: Dealing with Dynamic IPs

There are still a few that don't have bots and manage to fill the servers. I think by filling servers he means reaching the maximum player slots (could be 50, 100, more), opposed to reaching the...
Forum: Scripting Help 03/08/2020, 04:09 PM
Replies: 1
Views: 72
Posted By Proxus
Re: Help me !

As in he's evading his ban? There isn't really much you can do except hire better admins and implement a better anti-cheat. I strongly advise you not to ban his IP constantly (as another player in...
Forum: Server Support 03/08/2020, 04:05 PM
Replies: 15
Views: 529
Posted By Proxus
Re: Ban System: Dealing with Dynamic IPs

This can be solved by banning for a temporary amount of time. Permanent bans make less sense (because as you mentioned, a player may have the same IP in the future) and if the banned person wants to...
Forum: Server Support 03/08/2020, 03:11 PM
Replies: 15
Views: 529
Posted By Proxus
Re: Ban System: Dealing with Dynamic IPs

Ban evading will always be an issue because of IP changes (incl. VPNs). The way we manage it is through human intervention. Admins can view the GPCI of the player and see if it was likely they evaded...
Forum: Server Support 03/08/2020, 02:24 PM
Replies: 15
Views: 529
Posted By Proxus
Re: Ban System: Dealing with Dynamic IPs

GPCI won't always be unique because people may have the same copy of GTA (if they've shared it) or if they have a cracked version of GTA.
Forum: General 03/08/2020, 11:57 AM
Replies: 2
Views: 85
Posted By Proxus
Re: Fallout nv rp, help needed

https://forum.sa-mp.com/showthread.php?t=447813
Forum: General 03/08/2020, 11:07 AM
Replies: 5
Views: 159
Posted By Proxus
Re: How to translate the gamemode

Depends how accurate you want it to be. ****** Translate isn't perfect at translating, and it definitely isn't as good as native speakers because it doesn't know the context of the sentence which can...
Forum: Scripting Help 24/07/2020, 11:21 PM
Replies: 2
Views: 132
Posted By Proxus
Re: Question about a sql faction system

I usually have a table for the groups, the group members and anything else that would be better off in its own table (e.g. group history).
Forum: Server Advertisements 22/07/2020, 11:05 PM
Replies: 0
Views: 289
Posted By Proxus
(LGC) Call of Duty - Real World at War [0.3.7]

https://i.imgur.com/3bhXtPv.png
Welcome to Limitless Gaming - Real World at War
IP: 145.239.172.235:7777 (samp://145.239.172.235:7777) Website: http://www.lgsamp.com/ Discord:...
Forum: Scripting Help 22/07/2020, 05:08 PM
Replies: 8
Views: 250
Posted By Proxus
Re: Is correct?

Can you show us code snippets of where you're saving and loading? Also, if you could reply with an error/warning (if there are any) in the mysql.log, that would also be handy.
Forum: Scripting Help 22/07/2020, 12:56 PM
Replies: 8
Views: 250
Posted By Proxus
Re: Is correct?

Why would you do that? OP is basing it on the UNIX time epoch (seconds elapsed since 1 January 1970). gettime() retrieves the current UNIX timestamp and OP added 3600 on to it (in 3600 seconds from...
Forum: Scripting Help 26/06/2020, 11:40 AM
Replies: 5
Views: 131
Posted By Proxus
Re: Unix to human time

This should help.
https://forum.sa-mp.com/showthread.php?t=347605
Forum: Scripting Help 24/06/2020, 10:09 PM
Replies: 7
Views: 173
Posted By Proxus
Re: There are no Users and Accounts folders inside of Scriptfiles. What to do?

That's quite broad. Is it your own script or a released script? Either way, it's very likely to be a bug. Otherwise, if it's released, are you sure they're not using a database provider (e.g. MySQL)...
Forum: Server Support 24/06/2020, 07:43 PM
Replies: 3
Views: 229
Posted By Proxus
Re: the number pings of player can affect server pings?

Fairly sure that it doesn't affect it.
Remember, the ping is just a measure of how quick the communication between the client<->server is. Players will have lower/higher pings depending on where...
Forum: Scripting Help 24/06/2020, 07:35 PM
Replies: 8
Views: 192
Posted By Proxus
Re: When the player is freeze, it goes to afk mode

My bad, I interpreted the question pretty poorly. I thought you were looking for a way to put someone into AFK mode when they pause. The only thing I can think of is some weird behaviour elsewhere in...
Forum: Gamemode Scripts 21/06/2020, 12:13 PM
Replies: 208
Views: 68,441
Posted By Proxus
Re: [GM] Turf Wars - Los Santos BIZ + VEH Version Released

The gamemode is 12 years old and the creator was last online 10 years ago. Good luck with getting a link.
Forum: Scripting Help 20/06/2020, 12:10 PM
Replies: 5
Views: 153
Posted By Proxus
Re: MySQL errors

As far as I know, those functions are from an outdated version of MySQL.
The functions for R40 are listed on the wiki page: https://wiki.sa-mp.com/wiki/MySQL/R40
Showing results 1 to 25 of 454

 

All times are GMT. The time now is 11:00 PM.


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