SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 145
Search took 0.01 seconds.
Search: Posts Made By: Alec24
Forum: Scripting Help 21/03/2012, 06:56 PM
Replies: 1,163
Views: 488,801
Posted By Alec24
Re: SA-MP 0.3e RC4 client/server

So you didnt read my post then..
Forum: Scripting Help 21/03/2012, 05:51 PM
Replies: 1,163
Views: 488,801
Posted By Alec24
Re: SA-MP 0.3e RC4 client/server

Try SelectTextDraw with a capital D.
Forum: Scripting Help 17/03/2012, 04:57 PM
Replies: 428
Views: 130,281
Posted By Alec24
Re: Post new object [model] suggestions here

Particle object for turn signals/indicators that can then be attached to the front of cars, just like an orange flashing light.
Forum: Plugin Development 22/11/2011, 01:11 PM
Replies: 6,158
Views: 2,335,855
Posted By Alec24
Re: [REL] MySQL Plugin R6-2

It appears that mysql_close crashes the server, I have used it under gamemodeexit.
Forum: Scripting Help 17/11/2011, 04:53 PM
Replies: 2,433
Views: 941,980
Posted By Alec24
Forum: Plugin Development 27/02/2011, 05:12 PM
Replies: 6,158
Views: 2,335,855
Posted By Alec24
Forum: Help Archive 11/12/2010, 04:19 PM
Replies: 26
Views: 3,915
Posted By Alec24
Re: Re : KEY_JUMP Bug?

I believe he wants it so the keys are the same when the player is frozen or unfrozen.
Forum: Help Archive 07/12/2010, 11:50 AM
Replies: 26
Views: 3,915
Posted By Alec24
Re: KEY_JUMP Bug?

I have this problem and I just ran a version checker which told me my version is "1.01 EU Cracked"

I also checked the keys:
Up is 8
Down is 32
Space is 128
Forum: Help Archive 29/11/2010, 10:51 AM
Replies: 15
Views: 2,186
Posted By Alec24
Re: [REQUEST] Force Numberplate Update

Is it possible to add an extra, optional, parameter to CreateVehicle like "numberplate[]" so we can set the number plate while spawning the car?
Forum: Plugin Development 29/09/2010, 09:05 PM
Replies: 6,158
Views: 2,335,855
Posted By Alec24
Re: [REL] MySQL Plugin R5 (04/09/10)

What could be causing "Error 2013 - Lost connection to MySQL server during query" where callback = 'NULL' and the query = 'SELECT something FROM table WHERE thing = 13847 LIMIT 1'
Forum: Plugin Development 12/09/2010, 12:51 PM
Replies: 6,158
Views: 2,335,855
Posted By Alec24
Re: [REL] MySQL Plugin R5 (04/09/10)

What about this error printed unded OnQueryError:

[MySQL ERROR 0] , from result -1, extra ID -1, connection 1, callback 'NULL', query: 'UPDATE players SET RecentIP='78.3.84.113' WHERE id=31941'
...
Forum: Plugin Development 11/09/2010, 03:03 PM
Replies: 6,158
Views: 2,335,855
Posted By Alec24
Re: [REL] MySQL Plugin R5 (04/09/10)

How would I use mysql_insert_id after executing a threaded query?
Would it work OK if I put it in OnQueryFinish?

Something like:
...

mysql_query(query_reg, MYSQL_THREAD_REGISTER_PLAYER,...
Forum: Plugin Development 05/09/2010, 06:10 PM
Replies: 6,158
Views: 2,335,855
Posted By Alec24
Re: [REL] MySQL Plugin R5 (04/09/10)

Should mysql_close() be called in OnGameModeExit then?
Forum: Bug Reports 04/09/2010, 12:13 PM
Replies: 15
Views: 5,127
Posted By Alec24
Re: GetPlayerWeaponData problem

The problem I have is people are being banned as for some reason GetPlayerWeaponData is saying the player has detonators, miniguns, brass knuckles etc(bannable weapons in my GM). It has something to...
Forum: Plugin Development 31/08/2010, 03:06 PM
Replies: 6,158
Views: 2,335,855
Posted By Alec24
Re: [REL] MySQL Plugin R4

Any idea about this:

[20:42:42] CMySQLHandler::ProcessQueryThread(INSERT INTO players (Name, Password, IP, RegisterDate) VALUES ('Francis_Jones', 'password hash', '1.1.1.1', '30th August 2010'),...
Forum: Plugin Development 24/08/2010, 08:10 PM
Replies: 6,158
Views: 2,335,855
Posted By Alec24
Re: [REL] MySQL Plugin R4

So how long do I have to use mysql_reconnect before the server crashes from the point of disconnection?
What do you mean by "is your MySQL server so unstable"?
Forum: Plugin Development 24/08/2010, 06:16 PM
Replies: 6,158
Views: 2,335,855
Posted By Alec24
Re: [REL] MySQL Plugin R4

What if the SQL disconnects at another point?
Forum: Plugin Development 24/08/2010, 04:13 PM
Replies: 6,158
Views: 2,335,855
Posted By Alec24
Re: [REL] MySQL Plugin R4

Is this suitable for a one second timer:
public MySQLCheckConnection()
{
if(mysql_ping() != 1)
{
print("[MySQL] Connection lost, reconnecting...");
mysql_reconnect();
}
return 1;
}
Forum: Client Support 22/08/2010, 05:52 PM
Replies: 75
Views: 59,699
Posted By Alec24
Re: Build-in client commands

Change
"This are the current standard build-in commands in the SA:MP client:"
to
"These are the current built-in commands in the SA-MP client:"
Forum: Scripting Help 25/05/2010, 06:00 PM
Replies: 4
Views: 2,417
Posted By Alec24
Re: 3D Text wont take a new line

I have used \n in 3D texts before and it can been seen at the wiki page: http://wiki.sa-mp.com/wiki/Create3DTextLabel
Forum: Scripting Help 25/05/2010, 05:50 PM
Replies: 4
Views: 2,417
Posted By Alec24
3D Text wont take a new line

Hello,

Code: http://pastebin.com/JmRTnk1Q

Why does the 3D text label not take a new line when I use \n.
Example, I do "/vlabel blue 3\n2\n1" turns out as "321" and not:
3
2
1
Forum: Plugin Development 03/05/2010, 03:58 PM
Replies: 6,158
Views: 2,335,855
Posted By Alec24
Re: [REL] MySQL Plugin R4 (21/04/2010)

I meant case insensitive though? Will it find "Alec" if I type "ALEC"?

Also:
format(query, sizeof(query), "SELECT Name,PhoneNumber FROM players WHERE Name LIKE '%%%s%%'", tmp);...
Forum: Plugin Development 03/05/2010, 03:43 PM
Replies: 6,158
Views: 2,335,855
Posted By Alec24
Re: [REL] MySQL Plugin R4 (21/04/2010)

Ok thanks, so they are all the same.
One last question: How can I ignore the case of the variable at %s?
Forum: Plugin Development 03/05/2010, 03:33 PM
Replies: 6,158
Views: 2,335,855
Posted By Alec24
Re: [REL] MySQL Plugin R4 (21/04/2010)

Do you think I will still need the %% at each side?
What about:
SELECT Name,PhoneNumber FROM players WHERE Name LIKE '%s'
Forum: Plugin Development 03/05/2010, 12:46 PM
Replies: 6,158
Views: 2,335,855
Posted By Alec24
Re: [REL] MySQL Plugin R4 (21/04/2010)

Hello, How can I do a wildcard search on a name.
Here is the current query:

SELECT Name,PhoneNumber FROM players WHERE Name=%%%s%%

I think the %% = one % in PAWN and I think again that % =...
Showing results 1 to 25 of 145

 

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


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