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: DerickClark
Forum: Scripting Help 26/05/2019, 04:08 AM
Replies: 5
Views: 153
Posted By DerickClark
Re: Repair System database

i need to create another function
to load it?
Forum: Scripting Help 25/05/2019, 08:50 PM
Replies: 5
Views: 153
Posted By DerickClark
Re: Repair System database

AddARepairPickups(Float:x, Float:y, Float:z)
{
for (new i; i < sizeof(ARepairPickups); i++)
{
if (ARepairPickups[i][PickupID] == -1)
{
new query[128];
new...
Forum: Scripting Help 25/05/2019, 07:59 PM
Replies: 5
Views: 153
Posted By DerickClark
Repair System database

Repair system loading created another one in the database.

OnGameModeInit:

for(new i = 0; i != sizeof(ARepairPickups); i++)
ARepairPickups[i][PickupID] = -1;
mysql_tquery(MySQL, "SELECT...
Forum: Scripting Help 26/03/2019, 09:49 PM
Replies: 3
Views: 122
Posted By DerickClark
Re: Not calling function?

It's now working, it was renamed to "repair_pickups" instead of "repair_system"
Forum: Scripting Help 26/03/2019, 09:24 PM
Replies: 3
Views: 122
Posted By DerickClark
Not calling function?

It's not loading repair ids into the game.
or calling the function

public OnGameModeInit()
{
for(new i = 0; i != sizeof(ARepairPickups); i++)
ARepairPickups[i][PickupID] = -1;...
Forum: Scripting Help 26/03/2019, 02:23 AM
Replies: 9
Views: 233
Posted By DerickClark
Re: Repair ID

Does anyone know why not loading repair id?
Forum: Scripting Help 25/03/2019, 05:38 PM
Replies: 9
Views: 233
Posted By DerickClark
Re: Repair ID

I got it to save in and the repair id worked.

AddARepairPickups(Float:x, Float:y, Float:z)
{
for (new i; i < sizeof(ARepairPickups); i++)
{
if (ARepairPickups[i][PickupID] == -1)
{
...
Forum: Scripting Help 25/03/2019, 05:15 PM
Replies: 9
Views: 233
Posted By DerickClark
Re: Repair ID

?
its mysql r40
Forum: Scripting Help 25/03/2019, 05:08 PM
Replies: 9
Views: 233
Posted By DerickClark
Re: Repair ID

forward OnLoadRepairPickups(playerid);
public OnLoadRepairPickups()
{
new count;
cache_get_row_count(count); // Get total rows
for(new i; i < count; i++)
{
...
Forum: Scripting Help 25/03/2019, 05:05 PM
Replies: 9
Views: 233
Posted By DerickClark
Re: Repair ID

still returns -1
Forum: Scripting Help 25/03/2019, 04:39 PM
Replies: 9
Views: 233
Posted By DerickClark
Repair ID

I have a problem with saving repair id and which it won't load.

prints in database,

PickupID pux puy puz
-1 -2030.85 179.518 28.8359

-1 -2027.27 172.638 28.8359

-1 -2033.39...
Forum: Scripting Help 24/03/2019, 04:50 PM
Replies: 2
Views: 118
Posted By DerickClark
Re: Register half name in mySQL

Right, Thank you it worked REP.
Forum: Scripting Help 24/03/2019, 04:32 PM
Replies: 2
Views: 118
Posted By DerickClark
Register half name in mySQL

When I register the name "max" the server log puts "ax".

[10:29:52] [INFO] query "INSERT INTO `accounts` (`Name`, `Password`, `IP`, `personalmsg`, `Admin`,`Money`) VALUES ('ax',...
Forum: Scripting Help 23/03/2019, 06:37 PM
Replies: 2
Views: 140
Posted By DerickClark
mySQL error

When i register account and the server shuts down.
[12:35:04] [plugins/mysql] error #1136 while executing query "INSERT INTO `accounts` (`Name`, `Password`, `IP`, `personalmsg`, `Admin`, `Money`,...
Forum: Scripting Help 11/09/2018, 11:38 AM
Replies: 4
Views: 125
Posted By DerickClark
Re: String too long

Nope. You can increase it. id, name, reason, admin, datestring, timestring etc. take place of strings so you have to increase some more. on to 155.
Forum: Scripting Help 11/09/2018, 11:32 AM
Replies: 4
Views: 125
Posted By DerickClark
Re: String too long

increase this
new string[128]; to new string[255];
Forum: Scripting Help 09/09/2018, 08:09 AM
Replies: 2
Views: 202
Posted By DerickClark
Re: Hidden Trailers Save

Thank you. will try that.
Forum: Scripting Help 09/09/2018, 03:00 AM
Replies: 2
Views: 202
Posted By DerickClark
Hidden Trailers Save

How can i store hidden trailers inside MySQL. When you put up the hidden trailer it will have a message saying
"You already use this trailer, Find another one to use". and you can't use it again. ...
Forum: Everything and Nothing 06/09/2018, 02:40 AM
Replies: 107
Views: 7,455
Posted By DerickClark
Forum: Scripting Help 26/08/2018, 05:33 PM
Replies: 4
Views: 364
Posted By DerickClark
Re: mysql problem

Update your MySQL Code.
Forum: Scripting Help 26/08/2018, 03:14 AM
Replies: 7
Views: 529
Posted By DerickClark
Re: /statistika - Server Uknown command

Your code must return 1.


check your code.

if (gPlayerLogged[playerid] != 0) <--- Are you login?
Forum: Scripting Help 26/08/2018, 01:40 AM
Replies: 5
Views: 368
Posted By DerickClark
Re: how to make cmd with psw

I don't understand you. Like a Admin,vip, etc command?

Or Account?
Forum: Scripting Help 26/08/2018, 01:37 AM
Replies: 7
Views: 529
Posted By DerickClark
Re: /statistika - Server Uknown command

Then point it out. what's wrong.

BTW. Check here. http://forum.sa-mp.com/showthread.php?t=199796
Forum: Scripting Help 22/08/2018, 05:43 PM
Replies: 6
Views: 242
Posted By DerickClark
Re: PPC_BUS

And most of the code(half) inside of gamemode?
Forum: Scripting Help 22/08/2018, 05:22 PM
Replies: 6
Views: 242
Posted By DerickClark
Re: PPC_BUS

Please more English. I don't understand what are you saying.

WYM it does not function?
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 09:50 PM.


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