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: Burridge
Forum: General 04/11/2019, 10:48 PM
Replies: 1,037
Views: 276,597
Posted By Burridge
Re: Is it still worth it?

I hate to be the one delivering bad news but the rights to "democracy" don't extend to privately owned websites.
Forum: General 03/11/2019, 11:08 AM
Replies: 1,037
Views: 276,597
Posted By Burridge
Re: Is it still worth it?

The best defence against cheaters is an active moderation/admin team, the size of which depends on the server and number of players. The gamemode should of course have aids to the team, such as...
Forum: Scripting Help 03/11/2019, 12:08 AM
Replies: 8
Views: 135
Posted By Burridge
Re: Is this the cause? FCNPC issue

Glad I could help. Good luck fixing the remaining warnings!
Forum: Scripting Help 02/11/2019, 11:19 PM
Replies: 8
Views: 135
Posted By Burridge
Re: Is this the cause? FCNPC issue

An example would be the name paremeter of your function. You're passing a literal string into it, same for animlib and animname.

stock CreateCivilianNpc(const name[ ], skinId[ ], clerkId, const...
Forum: Scripting Help 02/11/2019, 10:32 PM
Replies: 8
Views: 135
Posted By Burridge
Re: Is this the cause? FCNPC issue

Probably not, but I would advise resolving them anyway. It's bad practice to ignore warnings.
Forum: Scripting Help 02/11/2019, 10:15 PM
Replies: 8
Views: 135
Posted By Burridge
Re: Is this the cause? FCNPC issue

I think this link may help you: https://github.com/pawn-lang/compiler/wiki/Const-Correctness
Forum: General 02/11/2019, 09:43 PM
Replies: 1,037
Views: 276,597
Posted By Burridge
Re: Is it still worth it?

:picard:


That looks great! Really creative use of DL for sure. I really like the idea of vehicles being objects so they can go in the back of vehicles such as Bobcats.
Forum: General 31/10/2019, 09:26 AM
Replies: 1,037
Views: 276,597
Posted By Burridge
Re: Is it still worth it?

Well, it seems that's not entirely true in the case of rc-rp at least based on TommyB's posts in this thread, although I realise bridges have been burned in regards to that particular case I don't...
Forum: General 30/10/2019, 10:50 AM
Replies: 1,037
Views: 276,597
Posted By Burridge
Re: Is it still worth it?

Forgive me if I am misremembering but I think I saw someone post somewhere recently that they wouldn’t want to see the DL branch go into the main development branch because some people wouldn’t want...
Forum: General 27/10/2019, 09:50 PM
Replies: 16
Views: 1,181
Posted By Burridge
Re: GTA San Andreas 15 year anniversary

Crazy to think I was 11 when it came out, and I played it then too. Needless to say, I didn't get any of the references or jokes back then. I still remember plugging in the second PS2 controller and...
Forum: Tools and Files 23/04/2019, 12:34 PM
Replies: 1,469
Views: 1,250,471
Posted By Burridge
Re: Map editor: (ALL SA-MP VERSIONS) with removebuilding support.

https://forum.sa-mp.com/showpost.php?p=4033353&postcount=1451

Bare in mind that this project isn't supported anymore by the author.
Forum: Scripting Help 22/04/2019, 06:28 PM
Replies: 11
Views: 279
Posted By Burridge
Re: How to press ESC to Hidetextdraw

The ESC key (as far as I know) cannot be detected via scripting.

https://wiki.sa-mp.com/wiki/Keys - this is a list of all keys that can be detected. You can use a combination of...
Forum: Scripting Help 22/04/2019, 04:40 PM
Replies: 5
Views: 282
Posted By Burridge
Re: I do not spawn

You need to toggle the spectate to false to spawn correctly.
Forum: Scripting Help 21/04/2019, 09:53 PM
Replies: 21
Views: 414
Posted By Burridge
Re: Problem DB

SetSpawnInfo is used before OnPlayerSpawn.
Forum: Scripting Help 21/04/2019, 09:44 PM
Replies: 21
Views: 414
Posted By Burridge
Re: Problem DB

I personally use https://wiki.sa-mp.com/wiki/TogglePlayerSpectating. I set the player as spectating when they login. I believe (I could be incorrect) showing a dialog when they connect (such as a...
Forum: Scripting Help 21/04/2019, 09:32 PM
Replies: 21
Views: 414
Posted By Burridge
Re: Problem DB

In your previous posts the enum has "Mot_de_Passe" with a lower-case "d". Your error shows "Mot_De_Passe" with a capital "D".

EDIT: Fantastic, you solved already! You're welcome. :)
Forum: Scripting Help 21/04/2019, 09:27 PM
Replies: 21
Views: 414
Posted By Burridge
Re: Problem DB

I strongly advise against removing the salt. The salt makes the password more secure in your database and less likely to be cracked if your database were leaked. The SA-MP SHA256_PassHash function...
Forum: Scripting Help 21/04/2019, 08:55 PM
Replies: 21
Views: 414
Posted By Burridge
Re: Problem DB

Please see my edit: Mot_de_Passe[65], // can't contain spaces

EDIT: Oh, the other errors still persist?
Forum: Scripting Help 21/04/2019, 08:52 PM
Replies: 21
Views: 414
Posted By Burridge
Re: Problem DB

You're missing a comma after IP. I missed that last time, my bad. Also your password variable contains spaces.


enum ENUM_PLAYER_DATA
{
ID,
Pseudo[25],
Mot_de_Passe[65], // can't...
Forum: Scripting Help 21/04/2019, 08:38 PM
Replies: 6
Views: 165
Posted By Burridge
Re: Kick player without permissions from GangZone

Oh! I apologise, I got the function from https://forum.sa-mp.com/showthread.php?t=276352 which is set up a little differently from yours. However, I did just find:...
Forum: Scripting Help 21/04/2019, 07:39 PM
Replies: 6
Views: 165
Posted By Burridge
Re: Kick player without permissions from GangZone

If you use the function I gave you then all you have to do is make a timer and work out if the player is inside the zone:


SetTimer("CheckIfPlayerIsAllowedInZone", 1000, true); // called every...
Forum: Scripting Help 21/04/2019, 05:59 PM
Replies: 21
Views: 414
Posted By Burridge
Re: Problem DB

You're missing a ; on line 29.


enum ENUM_PLAYER_DATA
{
ID,
Pseudo[25],
Mot de Passe[65],
Niveau,
Argent,
Forum: Scripting Help 21/04/2019, 05:29 PM
Replies: 21
Views: 414
Posted By Burridge
Re: Problem DB

I can't see anything obvious to me as to why your code isn't working. I suggest updating your MySQL plugin to the latest version R41-4, which will require some code changes anyway:...
Forum: Scripting Help 21/04/2019, 05:01 PM
Replies: 6
Views: 165
Posted By Burridge
Re: Kick player without permissions from GangZone

You could use a function like IsPlayerInZone to check if they're in a gangzone and then set their coordinates to somewhere outside the zone.

IsPlayerInZone(playerid, zoneid)
{
new Float:x,...
Forum: Scripting Help 21/04/2019, 04:55 PM
Replies: 21
Views: 414
Posted By Burridge
Re: Problem DB

A good place to start would be the piece of code/function that should insert the player's data into the database. Do you get any errors in the logs when the data is inserted?
Showing results 1 to 25 of 500

 

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


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