SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: sammp
Forum: Scripting Help 26/12/2018, 01:55 AM
Replies: 2
Views: 218
Posted By sammp
Forum: Scripting Help 24/12/2018, 02:58 AM
Replies: 6
Views: 222
Posted By sammp
Re: SetPlayerCameraPos HELP..

That's bad code buddy, if I'm Admin Lvl 7 then I'll get the messages for every level before it. That's why else-if exists.
Forum: Scripting Help 24/12/2018, 02:56 AM
Replies: 14
Views: 467
Posted By sammp
Re: Why do people make SendClientMessageEx?

Kick() was fixed back in SA-MP 0.3x RC3 when it didn't always send kick messages. I think it was given higher packet priority or something, so KickEx() was introduced by people to work around that...
Forum: Scripting Help 24/12/2018, 02:51 AM
Replies: 27
Views: 755
Posted By sammp
Re: cyrillic in MySQL

The server is not at issue here, it's your game. Changing MySQL charsets will only cause problems if you don't convert properly, and tbh you shouldn't touch stuff like that unless you're experienced...
Forum: Scripting Help 24/12/2018, 02:46 AM
Replies: 1
Views: 76
Posted By sammp
Re: help newbie

Wouldn't advise on changing constants unless you know exactly why and what the performance hit in doing so will be.
Forum: Scripting Help 21/12/2018, 02:13 PM
Replies: 27
Views: 755
Posted By sammp
Re: cyrillic in MySQL

Please make sure you've got, like, a Russian language pack (https://support.microsoft.com/en-us/help/14236/language-packs) installed on your system. If you join a Russian server without it, you'll...
Forum: Scripting Help 20/12/2018, 03:25 PM
Replies: 4
Views: 122
Posted By sammp
Re: [ MySQL ] Query Error

mysql_format(SQL, query, sizeof(query), "UPDATE %s SET %s=%d WHERE %s=%d", table, column, value, sqlID, sqlid);
mysql_tquery(SQL, query);
Forum: Scripting Help 24/10/2018, 02:31 AM
Replies: 4
Views: 129
Posted By sammp
Re: Printing line on minimap to destination checkpoints

Yeah, like anyone is going to create a GPS system for you
You'll need experience to do that. If a library exists already, do yourself a favour and use it instead of wasting hours making one
Forum: Tutorials 24/10/2018, 01:29 AM
Replies: 2
Views: 679
Posted By sammp
How to properly link tables in MySQL

I see so many gamemodes that get posted to this forum. They all work. Their databases work. So what's the problem?

I'm going to keep this short, sweet and to the point.

First of all, lets look...
Forum: Scripting Help 24/10/2018, 12:44 AM
Replies: 7
Views: 249
Posted By sammp
Re: player in each specific vehicle

If you're writing methods that aren't being used, why in gods name are you writing them!!?!!?!
Forum: Gamemode Scripts 27/09/2018, 01:02 PM
Replies: 62
Views: 8,538
Posted By sammp
Re: [MySQL R41-4] Login / Register Base Script

For the love of good look up what an ERD is and use it to establish a far better database design. If you're creating an RDB with one table, you're doing it wrong.
Forum: Scripting Help 12/09/2018, 02:42 AM
Replies: 18
Views: 521
Posted By sammp
Re: Callback problem

When you're handling playerid, your procedure should have at minimum 1 parameter, being playerid.

You do not need any loops for that procedure. "playerid" does not need to have a loop in order to...
Forum: Scripting Help 12/09/2018, 02:35 AM
Replies: 3
Views: 140
Posted By sammp
Re: Help, error 047

The size of that array at most needs to be 26 long, and I'm including the colour formatting length. There is no necessity for the other 106 allocated, however unused.
Forum: Scripting Help 14/08/2018, 07:08 PM
Replies: 6
Views: 358
Posted By sammp
Re: how to make offline /makeadmin

Ideally, you should be working with unique ID's when altering ANYTHING to do with accounts to avoid data duplication, or editing the data of the wrong account.
Forum: Scripting Help 01/05/2018, 11:01 PM
Replies: 3
Views: 245
Posted By sammp
Re: dialog problem

Look into string escaping.
Forum: Scripting Help 11/04/2018, 03:40 AM
Replies: 2
Views: 318
Posted By sammp
Re: Bug at AMX (77015616) loaded

Like the errors suggest, you're trying to access something that doesn't exist.
Forum: Scripting Help 29/03/2018, 01:36 AM
Replies: 3
Views: 355
Posted By sammp
Re: How to separate numbers with a comma?

showthread.php?t=184328 (http://forum.sa-mp.com/showthread.php?t=184328)

Wasn't so hard, was it?
Forum: Scripting Help 12/03/2018, 03:01 PM
Replies: 16
Views: 595
Posted By sammp
Re: Problem with foreach/iterator : array index out of bonus

It explains itself. You're attempting to access something illegally.
Forum: Scripting Help 07/03/2018, 02:24 PM
Replies: 8
Views: 536
Posted By sammp
Re: Questions about "foreach" include

His point is that there is no point updating your mysql version if you're not going to take advantage of it. unless it has major security updates
Forum: Scripting Help 07/03/2018, 02:26 AM
Replies: 8
Views: 536
Posted By sammp
Re: Questions about "foreach" include

Is SA-MP foreach the same as .NET in the sense that if you wanted index looping, you'd opt for for() rather than foreach()? edit// i'm just wondering if foreach in sa-mp has add, remove and edit...
Forum: Everything and Nothing 12/10/2017, 05:42 AM
Replies: 4
Views: 2,064
Posted By sammp
Re: NGG closing

I know, I just found out when i posted this lol
Forum: Plugin Development 12/10/2017, 05:09 AM
Replies: 209
[Plugin] Pawn.RakNet
Views: 84,830
Posted By sammp
Re: Pawn.RakNet - write the best anticheat

Look for onplayerairbreak.inc
Forum: Plugin Development 12/10/2017, 05:07 AM
Replies: 36
Views: 8,970
Posted By sammp
Re: TexAndreas - Community Project Development

The concept is brilliant, but we needed it 5 years ago. I don't think any servers will take advantage of it. Most established servers won't.
Forum: Everything and Nothing 12/10/2017, 05:02 AM
Replies: 4
Views: 2,064
Posted By sammp
NGG closing

Anyone know the reason? RIP lol
Forum: Discussion 29/09/2017, 10:55 AM
Replies: 8
Views: 1,087
Posted By sammp
Re: Command Processor

I'd use ZCMD or YCMD, they are fundamentally the same
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 12:39 AM.


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