SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: 2KY
Forum: General 27/08/2015, 02:21 AM
Replies: 92
Views: 6,362
Posted By 2KY
Forum: Scripting Help 10/08/2015, 07:38 PM
Replies: 6
Views: 747
Posted By 2KY
Re: [Y_INI]Registering with another account loads previous playerid account

public ResetPlayerVariables(playerid)
{
for(new E_PLAYERS:e; e < E_PLAYERS; ++e)
{
PlayerInfo[playerid][e] = 0;
}
return 1;
}

Just change E_PLAYERS to the name of your...
Forum: Everything and Nothing 07/08/2015, 04:40 AM
Replies: 49
Views: 6,579
Posted By 2KY
Re: Microsoft Edge

I will continue to hate IE whether it's been updated, renamed, whatever. I'll stick with my Firefox. :P
Forum: Scripting Help 07/08/2015, 04:33 AM
Replies: 2
Views: 517
Posted By 2KY
Getting the number of rows using Blue G's MySQL

So I'm trying to make a simple /factions command which will go through the database and see how many players are in a specific faction. Currently I have this:

CMD:factions(playerid, params[])
{...
Forum: Everything and Nothing 06/08/2015, 03:53 AM
Replies: 13
Views: 1,258
Posted By 2KY
Re: New PC

You will have a great time running this setup. As stated above, running dual GPU's will fuck you over in some cases due to some games not supporting SLI, but you'll be fine for the most part as even...
Forum: Plugin Development 06/08/2015, 01:12 AM
Replies: 6,151
Views: 2,244,566
Posted By 2KY
Re: [REL] MySQL Plugin (Now on github!)

Anyone have a compiled version for Windows 10? Can't get this plugin to work without a compiled version. >_<
Forum: Tools and Files 01/08/2015, 02:42 AM
Replies: 62
Views: 14,893
Posted By 2KY
Re: [0.1] PawnPlus IDE - PAWNO alternative

It's a great idea, unfortunately when I'm editing a 30,000+ line script it's a bit laggy, and for that reason I'm going to stick with Sublime Text. However, if you somehow made it not laggy anymore...
Forum: Tutorials 18/07/2015, 01:29 AM
Replies: 50
Views: 27,545
Posted By 2KY
Re: Saving weapon data (MySQL)

EDIT: Got it, thanks for the tutorial Vince. You saved me a lot of time and effort.
Forum: Scripting Help 16/07/2015, 03:14 AM
Replies: 2
Views: 412
Posted By 2KY
input line too long (after substitutions)

new query[1024];

mysql_format(con, query, sizeof(query),
"UPDATE `players` SET `lastwep0` = '%d', `lastammo0` = '%d', \
`lastwep1` = '%d', `lastammo1` = '%d', `lastwep2` = '%d', `lastammo2`...
Forum: Scripting Help 11/07/2015, 07:56 PM
Replies: 0
Views: 262
Posted By 2KY
OnDialogResponse logic for dynamic systems

I have the following business/item system at the moment:

enum E_BUSINESSES
{
ID,
Type,
Name[64],

Int,
VW,
Forum: Scripting Help 07/07/2015, 12:11 AM
Replies: 2
Views: 309
Posted By 2KY
Re: AW: Array Problem

Thank you, it's been a while. ^^
Forum: Scripting Help 06/07/2015, 11:32 PM
Replies: 2
Views: 309
Posted By 2KY
Array Problem

I have the following code -

new PoliceCars[][] =
{
{598, 613.835, -597.2714, 16.9790, 270.8588, 0, 1, 1},
{598, 613.8523, -601.5485, 16.9765, 270.8588, 0, 1, 1}
};

stock...
Forum: Discussion 28/06/2015, 11:43 PM
Replies: 10
Views: 1,929
Posted By 2KY
Re: Hi any idea why do we do this?

Okay, say you have 10 textdraws. For some reason, your server crashes, shuts down, restarts, whatever - and for some reason, only 4 textdraws get destroyed. When your mode starts up again, it's going...
Forum: Filterscripts 31/01/2015, 05:41 PM
Replies: 18
Views: 6,603
Posted By 2KY
Re: 2K-Radio : Dynamic Radio Stations!

I'd have to repackage and recompile it, but since this is 3 years old I don't think the code itself is viable anymore - it works, but there's much better ways to do it by now. Maybe I'll get around...
Forum: Scripting Help 13/08/2014, 07:37 PM
Replies: 19
Views: 832
Posted By 2KY
Re: timer for multiple players

If you wanted to kill a player-based timer (SetTimerEx) you'd just have to assign it a value and kill it using KillTimer like so:

new PlayerTimer[MAX_PLAYERS];

PlayerTimer[playerid] =...
Forum: Scripting Help 13/08/2014, 06:16 PM
Replies: 6
Views: 714
Posted By 2KY
Re: Unprison

Try setting their Interior and Virtual World to 0.
Forum: Scripting Help 13/08/2014, 05:51 PM
Replies: 19
Views: 832
Posted By 2KY
Re: timer for multiple players

// up top
forward UnJail(playerid);
new jailed[MAX_PLAYERS] = 0;

// in your command
SetTimerEx("UnJail", 60000, false, "i", playerid);
jailed[playerid] = 1;

// public
public...
Forum: Scripting Help 08/08/2014, 04:34 PM
Replies: 3
Views: 633
Posted By 2KY
Re: Save all account in /gmx?

There's no reason to save files of players that aren't even connected and playing. Simply use a loop, open their file, save their variables, close it, and THEN restart the server. I use a 2 second...
Forum: General 04/08/2014, 05:34 PM
Replies: 113
Views: 41,877
Posted By 2KY
Re: Re : Re: Notice: Old wiki user accounts purged

You don't apply, just simply login with your forum information.
Forum: General 15/07/2014, 03:22 AM
Replies: 2
Views: 419
Posted By 2KY
Re: Makeing alot of files .png

http://www.addictivetips.com/windows-tips/batch-change-rename-file-extensions-in-windows/

Here you go.
Forum: Filterscripts 06/07/2014, 05:15 AM
Replies: 24
Views: 7,261
Posted By 2KY
Re: Realistic damage and Force systems (0.3z)

Good release, worth noting would be that it sets everybody to the same team, so if you have any code in your mode that is controlled by players being on a specific team (they're all set to team 1)...
Forum: Everything and Nothing 25/02/2014, 06:39 PM
Replies: 22
Views: 1,642
Posted By 2KY
Re: How do you do this?

Photoshop work.
Forum: Everything and Nothing 25/02/2014, 06:35 PM
Replies: 22
Views: 1,642
Posted By 2KY
Re: How do you do this?

What I gathered from your post is that you wanted a web-tool to test your templates on different resolutions and devices. This will do just that.

http://puu.sh/7acpS.png
Forum: Everything and Nothing 25/02/2014, 06:31 PM
Replies: 22
Views: 1,642
Posted By 2KY
Re: How do you do this?

http://quirktools.com/screenfly/ Is what you're looking for.
Forum: Scripting Help 13/02/2014, 04:26 AM
Replies: 24
Views: 3,473
Posted By 2KY
Re: Improve audio streaming?

We definitely need an audio volume option if this is actually worked on.
Showing results 1 to 25 of 500

 

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


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