SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 229
Search took 0.01 seconds.
Search: Posts Made By: Mike861
Forum: Scripting Help 31/05/2020, 09:45 AM
Replies: 9
Views: 129
Posted By Mike861
Re: mysql vehicle loading issue

I don't use cache for this system, but i do use it for login/register. But i assume it would work since there are functions from where i can get values from the vehicles that are saved in the table....
Forum: Scripting Help 31/05/2020, 09:38 AM
Replies: 9
Views: 129
Posted By Mike861
Re: mysql vehicle loading issue

What else do you want me to show, and of course i know they range from 400 to 611.
Forum: Scripting Help 31/05/2020, 09:28 AM
Replies: 9
Views: 129
Posted By Mike861
Re: mysql vehicle loading issue

I'm using commas for accounts and it works, but in this case now i don't have the error anymore. But the vehicles are still not loading.
Forum: Scripting Help 31/05/2020, 09:16 AM
Replies: 9
Views: 129
Posted By Mike861
Re: mysql vehicle loading issue

The variables next to query should be down at the LoadVehicles callback, anyways i've put everything as you said and its not loading the vehicles. Now there's one error in the mysql error log.
...
Forum: Scripting Help 31/05/2020, 08:01 AM
Replies: 9
Views: 129
Posted By Mike861
Question mysql vehicle loading issue

I have created a dynamic vehicle system that allows me to create vehicles around the map just by a command, so far it saves the vehicles into the table but i'm not sure how am i supposed to load it....
Forum: Plugin Development 15/05/2020, 08:55 AM
Replies: 477
[Plugin] Pawn.CMD
Views: 155,308
Posted By Mike861
Re: Pawn.CMD

I'm trying to restrict players from using commands if they're not logged in at first, and then spawned. But this doesn't work.

forward OnPlayerCommandRecieved(playerid, cmd[], params[], flags);...
Forum: Scripting Help 06/05/2020, 12:13 PM
Replies: 2
Views: 106
Posted By Mike861
Re: Pickups.

https://wiki.sa-mp.com/wiki/CreatePickup
https://wiki.sa-mp.com/wiki/OnPlayerPickUpPickup

Under OnPlayerPickUpPickup where the pickupid is the one of the health ones:

new playermoney =...
Forum: Server Support 05/05/2020, 12:18 PM
Replies: 3
Views: 148
Posted By Mike861
Re: Why doesnt the script work?

I see some mysql functions in the log, and you're not running mysql. But there are plenty more mistakes to fix.
Forum: Scripting Help 05/05/2020, 08:46 AM
Replies: 4
Views: 111
Posted By Mike861
Re: login/register dialogs won't show up

I also have the cache version of my gamemode, because it's short and i recently started it. That version has issues aswell, if no one knows how to help i might switch back to cache because atleast it...
Forum: Scripting Help 05/05/2020, 08:33 AM
Replies: 4
Views: 111
Posted By Mike861
Re: login/register dialogs won't show up

Thanks for your help, but that didn't fix the issue.
Forum: Scripting Help 05/05/2020, 07:49 AM
Replies: 4
Views: 111
Posted By Mike861
Forum: Scripting Help 04/05/2020, 07:42 AM
Replies: 4
Views: 111
Posted By Mike861
login/register dialogs won't show up

I have previously had mysql cache login/register system, but i converted it to orm. Now i'm not sure what the issue is, but the dialogs won't show when player joins.

Under OnPlayerConnect
...
Forum: Scripting Help 29/04/2020, 05:28 PM
Replies: 11
Views: 237
Posted By Mike861
Re: mysql not saving players data

That might fix the error, but my issue still remains. I wonder what could it possibly be..
Forum: General 29/04/2020, 04:04 PM
Replies: 12
Views: 784
Posted By Mike861
Re: SAMP Community

I was once curious to see if it's really 900+ players on the server and when i joined as far as i remember it had barely any players.
Forum: Server Support 29/04/2020, 03:55 PM
Replies: 7
Views: 234
Posted By Mike861
Re: mysql, sscanf, Whirlpool not loading

Try removing .dll and just leave the names of plugins.
Forum: Server Support 29/04/2020, 12:33 PM
Replies: 1
Views: 168
Posted By Mike861
Re: Desynchronization

Maybe do a ping check and make them rejoin the server.
Forum: Scripting Help 29/04/2020, 09:38 AM
Replies: 11
Views: 237
Posted By Mike861
Re: mysql not saving players data

That doesn't fix it, still nothing. But i saw this.


[04/29/20 11:38:08] [ERROR] error #1064 while executing query "UPDATE `PLAYERS` SET `MONEY` = '0', `HEALTH` = '0.000000', `ARMOR` =...
Forum: Scripting Help 29/04/2020, 09:30 AM
Replies: 11
Views: 237
Posted By Mike861
Re: mysql not saving players data

Yeah i didn't saw that thanks. But it still does not save.

[04/29/20 11:32:07] [DEBUG] mysql_connect("127.0.0.1", "server_707", "*****", "server_707_mickey", 0)
[04/29/20 11:32:07] [DEBUG]...
Forum: Scripting Help 29/04/2020, 09:23 AM
Replies: 11
Views: 237
Posted By Mike861
Re: mysql not saving players data

under case DIALOG_REGISTER:

mysql_format(mysql_database, query, sizeof(query), "INSERT INTO `PLAYERS` (`ID`, `USERNAME`, `PASSWORD`, `SALT`, `MONEY`, `HEALTH`, `ARMOR`, `XPOS`, `YPOS`, `ZPOS`,...
Forum: Scripting Help 29/04/2020, 09:01 AM
Replies: 11
Views: 237
Posted By Mike861
Re: mysql not saving players data

[04/29/20 11:03:33] [INFO] changed log level from 'warning, error' to 'debug, info, warning, error'
[04/29/20 11:03:33] [DEBUG] mysql_connect("127.0.0.1", "server_707", "*****", "server_707_mickey",...
Forum: Scripting Help 29/04/2020, 08:55 AM
Replies: 11
Views: 237
Posted By Mike861
Re: mysql not saving players data

This is under OnPlayerDisconnect for example:

mysql_format(mysql_database, query, sizeof(query),"UPDATE `PLAYERS` SET `MONEY` = '%d', `HEALTH` = '%f', `ARMOR` = '%f', `XPOS` = '%f', `YPOS` = '%f',...
Forum: Scripting Help 29/04/2020, 08:38 AM
Replies: 11
Views: 237
Posted By Mike861
mysql not saving players data

I was looking at the mysql wiki for samp and a few tutorials and wrote down my login/register system. I'm new to mysql but i think i made it, atleast i'm almost there because something isn't right....
Forum: Plugin Development 19/04/2020, 09:06 AM
Replies: 176
Views: 223,767
Posted By Mike861
Forum: Plugin Development 19/04/2020, 08:59 AM
Replies: 176
Views: 223,767
Posted By Mike861
Re: sscanf - Now supports npcmodes

C:\Users\MIHAJLO\Desktop\samp037_svr_R2-2-1_win32\pawno\include\sscanf2.inc(258 ) : warning 202: number of arguments does not match definition...
Forum: Filterscripts 19/04/2020, 05:53 AM
Replies: 16
Views: 2,340
Posted By Mike861
Re: DChat - Discord IRC System

Good work, i'll use it as another example to write the system for my server.
Showing results 1 to 25 of 229

 

All times are GMT. The time now is 03:48 PM.


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