SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 182
Search took 0.00 seconds.
Search: Posts Made By: SaltySandy
Forum: Scripting Help 26/06/2016, 12:40 PM
Replies: 20
Views: 1,357
Posted By SaltySandy
Re: [MYSQL] - Load veh

Any error codes? Please provide us with your log-file :-).
Forum: Server Support 09/05/2016, 10:05 AM
Replies: 1
Views: 352
Posted By SaltySandy
Re: Help to set mysql.

Get a plugin; add the queries.. There you go!
No-one's going to help you out for free to convert an entire script. If-so, give us more information on what exactly it is that you fail to understand...
Forum: Server Support 27/03/2016, 04:04 PM
Replies: 2
Views: 657
Posted By SaltySandy
Re: Global Variables

Can you show me the functions ( variables ) you're using? I'll happily look into them.
Forum: Scripting Help 14/03/2016, 12:15 PM
Replies: 4
Views: 484
Posted By SaltySandy
Re: [PHP] Help Online and Offline

query the server; make a case in PHP to see if it's online and use the PHP 'IF' statement for either online or offline ;-)
Forum: Scripting Help 14/03/2016, 10:03 AM
Replies: 3
Views: 218
Posted By SaltySandy
Re: Zcmd command.

Yeah. No issue on that ;-)
Forum: Server Support 08/03/2016, 08:55 PM
Replies: 2
Views: 309
Posted By SaltySandy
Re: Average time per day

Register online time via functions ( SQL or Y_INI I.E. ), also their regdate, then use a calculation ( TIME ( days, hours, minutes w/e ) divided by ONLINE TIME ). Shouldn't be too hard.
Forum: Server Support 08/03/2016, 08:51 PM
Replies: 4
Views: 347
Posted By SaltySandy
Re: Stats Saving on Server Stop/Restart

How do you save your data ( I'm unable to write a code for you due to this ) however, you may try something like:


public OnGameModeExit
{
// save your shit here
}
Forum: Scripting Help 22/02/2016, 12:57 PM
Replies: 3
Views: 428
Posted By SaltySandy
Re: Translate All Language

You can use ****** translate without having to pay for it. There's a free developer programme for starters. Downside, it'll only allow you to use a X translations.
Forum: Scripting Help 22/02/2016, 12:55 PM
Replies: 4,152
Views: 643,124
Posted By SaltySandy
Re: Little coding questions - For general minor queries 5

#include <a_samp>
#if defined FILTERSCRIPT
public OnPlayerCommandText(playerid, cmdtext[])
{
if (!strcmp(cmdtext, "/dallas", true) == 0)
{
SendClientMessage(playerid, COLOR_YELLOW,"It is...
Forum: Scripting Help 22/02/2016, 12:52 PM
Replies: 4,152
Views: 643,124
Posted By SaltySandy
Re: Little coding questions - For general minor queries 5

You've to define what job is what. How did you define your function PlayerJob?
Forum: Scripting Help 22/02/2016, 12:49 PM
Replies: 5
Views: 546
Posted By SaltySandy
Re: Police Commands / Civ commoands

Try to code it yourself.. If I see any mistakes in the code, I'll gladly explain to you what is wrong and why.
Forum: Scripting Help 18/02/2016, 01:25 PM
Replies: 19
Views: 924
Posted By SaltySandy
Re: House CP Help Me To Fix it +Reps

if(!strcmp("/command", command-text))
Forum: Scripting Help 16/02/2016, 02:26 PM
Replies: 5
Views: 775
Posted By SaltySandy
Re: Show bank money under cash money

Make a textdraw. Easy enough. You already have the data stored so just make a case to switch numbers :-).
Forum: Scripting Help 15/02/2016, 09:30 AM
Replies: 10
Views: 930
Posted By SaltySandy
Re: restrictions name rp

Check name in OnPlayerConnect --> strip the name and look for _ in the name.
Forum: Server Support 15/02/2016, 09:11 AM
Replies: 5
Views: 544
Posted By SaltySandy
Re: Server lags on vps

Switch saving to a steady SQL one.. Might save you efforts too.
Forum: Server Support 25/01/2016, 08:53 PM
Replies: 5
Views: 547
Posted By SaltySandy
Re: Vps Hoster

Your best shot would be to look for someone to fund the bits you need. I've offered a few VPS's in the past, but I do set specific requirements for them. You'd be better off stating what you require,...
Forum: Scripting Help 12/01/2016, 07:56 PM
Replies: 4
Views: 535
Posted By SaltySandy
Re: Easy_Mysql problem (IP)

Try using a new SQL plugin. Also.. Perhaps use the function GetPlayerIp:
public OnPlayerConnect(playerid)
{
new plrIP[16];
GetPlayerIp(playerid, plrIP, sizeof(plrIP));
...
Forum: Server Support 12/01/2016, 07:54 PM
Replies: 7
Views: 501
Posted By SaltySandy
Re: attatch object to vehicle help =1REP

I copied his code and went on to explain in the rest of my post.
Forum: Scripting Help 12/01/2016, 01:04 PM
Replies: 4
Views: 582
Posted By SaltySandy
Re: Command Help

Set his HP to 0;

SetPlayerHealth();
Forum: Scripting Help 12/01/2016, 12:58 PM
Replies: 11
Views: 1,065
Posted By SaltySandy
Re: Textdraws & PlayerTextdraws

Can you provide us with all the textdraws? Also.. Make sure you don't surpas the limit of textdraws.
http://wiki.sa-mp.com/wiki/Limits
Forum: Scripting Help 12/01/2016, 12:56 PM
Replies: 13
Views: 857
Posted By SaltySandy
Re: help me +rep

just fix what it says. It's literally giving you the fixes for your errors..
Forum: Scripting Help 12/01/2016, 12:53 PM
Replies: 3
Views: 707
Posted By SaltySandy
Re: No save Mysql ?

Any errorlogs? ( server logs & sql logs )
Forum: Server Support 12/01/2016, 12:47 PM
Replies: 7
Views: 501
Posted By SaltySandy
Re: attatch object to vehicle help =1REP

You'll have to define what vehicle IDs get what object and on what location:
( Wiki post: https://wiki.sa-mp.com/wiki/GetPlayerVehicleID )
(objectid, vehicleid, Float:OffsetX, Float:OffsetY,...
Forum: Server Support 11/01/2016, 12:26 PM
Replies: 3
Views: 513
Posted By SaltySandy
Re: Server timers not working right

Any errors from the serverlog?
Forum: Server Support 11/01/2016, 12:22 PM
Replies: 1
Views: 401
Posted By SaltySandy
Re: Whirlpool

Download the plugin, include it, use the variables given by the plugin maker!
Showing results 1 to 25 of 182

 

All times are GMT. The time now is 11:09 AM.


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