SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: Shockey HD
Forum: Scripting Help 02/10/2018, 02:03 AM
Replies: 1
Views: 229
Posted By Shockey HD
Re: Help please with MySQL!

Read the log, MySQL cannot connect to the database. Ensure that the account sampfamous in PhPMyAdmin exist and has the proper permissions.
Forum: Scripting Help 21/08/2018, 03:36 AM
Replies: 4
Views: 239
Posted By Shockey HD
Re: change pass not working

You are not executing the query after formating it.

mysql_tquery(connectionHandle, query[], callback[] = "", format[] = "", {Float,_}:...)


http://wiki.sa-mp.com/wiki/MySQL/R33#mysql_tquery
...
Forum: Scripting Help 20/08/2018, 05:32 AM
Replies: 10
Views: 731
Posted By Shockey HD
Re: offline jail didnt work

Any error code in your SQL log?
Forum: Scripting Help 20/08/2018, 05:27 AM
Replies: 8
Views: 437
Posted By Shockey HD
Re: Disable command

Show us how you are using it in your command.
Forum: Scripting Help 20/08/2018, 05:14 AM
Replies: 8
Views: 437
Posted By Shockey HD
Re: Disable command

if(GetPlayerState(playerid) != PLAYER_STATE_WASTED)


That should work. I believe PLAYER_STATE_WASTED is called on death
Forum: Scripting Help 16/08/2018, 05:39 AM
Replies: 7
Views: 438
Posted By Shockey HD
Re: Y_ini strange saving and loading problem

It's 2018, Why are you using Y_ini and not MySQL? lol

It's going to spam it being that the save function is in a loop.

Under your vData loop add Saved


and then use this.
Forum: Scripting Help 31/07/2016, 06:22 PM
Replies: 1
Views: 337
Posted By Shockey HD
Re: attach object problem

Show us the command that you are respawning the car with.
Forum: Scripting Help 31/07/2016, 01:31 AM
Replies: 9
Views: 547
Posted By Shockey HD
Re: MYSQL load errors

I'm pretty sure SAMP has trouble with UTF-8

http://forum.sa-mp.com/showthread.php?t=568869
Forum: Scripting Help 31/07/2016, 01:16 AM
Replies: 9
Views: 547
Posted By Shockey HD
Re: MYSQL load errors

In the database, Do they seem to be stored like that?


The way that it shows through the debug, that it's being called like that.
Forum: Scripting Help 31/07/2016, 12:58 AM
Replies: 9
Views: 547
Posted By Shockey HD
Re: MYSQL load errors

Under OnGameModeInit add mysql_debug(1); Restart the server, go to your server directory and post the content of debug.txt in here.
Forum: Scripting Help 31/07/2016, 12:54 AM
Replies: 5
Views: 1,020
Posted By Shockey HD
Re: SQL Errors.

These tables don't exist, You got to add them.

settings
houses
business
objects
icons
servervehicles
factionvehicles
factions
Forum: Scripting Help 29/07/2016, 11:32 AM
Replies: 1
Views: 348
Posted By Shockey HD
/createobject isn't working properly.

Hey all,

I have this command that use to work perfectly, now all of a sudden it only creates the object and doesn't engage in the EditObject function.


CMD:createobject(playerid,params[])
{...
Forum: Scripting Help 27/07/2016, 11:51 AM
Replies: 3
Views: 254
Posted By Shockey HD
Re: Help fixing a bug

How active is the server, Is there a possibility that someone may be using a command that bugs it? Do you have a loop somewhere or timer that activates and bugs it?
Forum: Scripting Help 21/07/2016, 01:09 AM
Replies: 1
Views: 380
Posted By Shockey HD
Looping issue for MYSQL

Hey all,

I'm creating a house system and for some reason when I first /createhouse when server starts it'll attempt to use the ID of the last house created therefore it throws a error in MYSQL. On...
Forum: Scripting Help 20/07/2016, 07:55 PM
Replies: 3
Views: 490
Posted By Shockey HD
Re: ZCMD giving unknown command.

Didn't notice, Thanks!

GetVehicleName feature was messed up. Thanks guys.


essfully free'd.[/code]
Forum: Scripting Help 20/07/2016, 07:04 PM
Replies: 3
Views: 490
Posted By Shockey HD
ZCMD giving unknown command.

The follow command is giving me "Server: Unkown Command"



CMD:givevehicle(playerid,params[])
{
if(pData[playerid][pAdmin] >= 5)
{
new ID,...
Forum: Scripting Help 19/07/2016, 01:40 PM
Replies: 3
Views: 332
Posted By Shockey HD
Re: String is not getting my name.

Shit, This was it. Thanks.
Forum: Scripting Help 19/07/2016, 08:33 AM
Replies: 3
Views: 332
Posted By Shockey HD
String is not getting my name.

Whenever I disconnect, my stats do not save.


I don't see why they wouldn't especially when I dont get a SQL error.

My SQL debug:

[04:29:28] CMySQLHandler::Query(UPDATE accounts SET...
Forum: Scripting Help 19/07/2016, 07:29 AM
Replies: 1
Views: 291
Posted By Shockey HD
Getting a SQL error.

Heres the error:

CMySQLHandler::Query(UPDATE accounts SET Level=5, Cash=0, bank=0, pX=-955.767211, pY=-490.140380, pZ=25.960937, FAngle=0.000000,Int=0, pVW=70 WHERE Username = '') - An error has...
Forum: Server Support 12/07/2015, 07:25 AM
Replies: 4
Views: 590
Posted By Shockey HD
Re: Mysql.so ? .

Running the right version of MySQL? Nativechecker is your friend!!!!!!!!!!!1
Forum: Server Support 11/07/2015, 07:59 PM
Replies: 8
Views: 645
Posted By Shockey HD
Re: Looking for new host!

I can hook you up with a server in New Jersey. PM me.
Forum: Scripting Help 06/01/2015, 03:47 AM
Replies: 12
Views: 826
Posted By Shockey HD
Re: Jail help

You really need to look into MYSQL or some sort of Database/file storing system to keep track of the time.
Forum: General 29/12/2014, 10:39 PM
Replies: 11
Views: 1,753
Posted By Shockey HD
Re: Starting SAMP Hosting service.

You'll never learn if you never try to learn it.

How else did we start scripting?
Forum: General 29/12/2014, 10:11 PM
Replies: 11
Views: 1,753
Posted By Shockey HD
Re: Starting SAMP Hosting service.

I went with TC Admin.

Going to look around onto implementing the autobilling service.
Forum: General 29/12/2014, 08:39 PM
Replies: 11
Views: 1,753
Posted By Shockey HD
Starting SAMP Hosting service.

Hey y'all.

I'm looking into starting a SAMP Hosting service but I need to be set onto the right direction.


I've been looking around for general hosting ideas, and as far as I've gotten was...
Showing results 1 to 25 of 500

 

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


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