SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 243
Search took 0.00 seconds.
Search: Posts Made By: !damo!spiderman
Forum: Plugin Development 19/09/2015, 07:59 AM
Replies: 134
Views: 42,248
Posted By !damo!spiderman
Re: samp.js - JavaScript for SA-MP

Yes you can assign custom variables to the player object and it should be cleared when they disconnect

You can put reload('scriptname.js'); in the GameModeExit and it will reload the javascript...
Forum: Plugin Development 07/09/2015, 01:19 AM
Replies: 134
Views: 42,248
Posted By !damo!spiderman
Re: samp.js - JavaScript for SA-MP

Not currently. I do have plans to implement something like Mongo in the future though
Forum: Plugin Development 27/08/2015, 07:53 AM
Replies: 306
Views: 73,162
Posted By !damo!spiderman
Re: SA-MP Gamemodes with PHP

This plugin hasn't been updated in almost a year and your operating system isn't even supported by Microsoft anymore
Forum: Plugin Development 26/08/2015, 02:08 AM
Replies: 945
Views: 116,559
Posted By !damo!spiderman
Forum: Plugin Development 21/08/2015, 10:34 PM
Replies: 312
Views: 126,529
Posted By !damo!spiderman
Re: Socket plugin (v0.2b released)

Yes if you code your system like that
Forum: Tools and Files 19/08/2015, 06:47 PM
Replies: 20
Views: 3,476
Posted By !damo!spiderman
Re: Most complete GTA San Andreas weather gallery

I'm not sure how you're processing the images but you could take sample points of the character and compare them to sample points of the world, if the colors don't differ by a certain percentage then...
Forum: Everything and Nothing 14/08/2015, 09:56 AM
Replies: 70
Views: 6,368
Posted By !damo!spiderman
Re: Post Your Typing Speed.

Maybe they use samp timers
Forum: Everything and Nothing 13/08/2015, 01:16 PM
Replies: 70
Views: 6,368
Posted By !damo!spiderman
Re: Post Your Typing Speed.

http://10fastfingers.com/speedtests/generate_screenshot_result/1_81_406_0_0_75_0_93.78_10209_164185
Forum: Everything and Nothing 09/08/2015, 04:53 AM
Replies: 26
Views: 2,465
Posted By !damo!spiderman
Re: People are leaving SA-MP or it will stay the best GTA online game forever?

There's been countless mods for GTA:SA, countless failed mods for GTA:IV and there will be countless failed ones for GTA:V. I don't think it will affect much, not any time soon at least.
Forum: Plugin Development 05/08/2015, 01:27 PM
Replies: 134
Views: 42,248
Posted By !damo!spiderman
Re: samp.js - JavaScript for SA-MP

Unfortunately it is not. Would be a nice feature but to implement nodejs would be a big under taking... I did look into it though at one stage
Forum: Plugin Development 04/08/2015, 08:22 AM
Replies: 134
Views: 42,248
Posted By !damo!spiderman
Re: samp.js - JavaScript for SA-MP

Thanks for the suggestion
Forum: Scripting Help 03/08/2015, 10:39 PM
Replies: 10
Views: 798
Posted By !damo!spiderman
Re: Difference between mysql staments

https://dev.mysql.com/doc/refman/5.0/en/insert-on-duplicate.html
Forum: Plugin Development 02/08/2015, 08:15 AM
Replies: 134
Views: 42,248
Posted By !damo!spiderman
Re: samp.js - JavaScript for SA-MP

Ok there were a few minor issues reported from that last release so I've just pushed a new dll haven't done a full release.

Issue 1: ScriptInit wasn't being called on loadjs/reloadjs
Issue 2:...
Forum: Plugin Development 01/08/2015, 11:08 AM
Replies: 134
Views: 42,248
Posted By !damo!spiderman
Re: samp.js - JavaScript for SA-MP

Ok after that last release we discovered so fairly major bugs so update to avoid drama. We've also added a new global event feature allow you to emit global events to other scripts

Usage:
...
Forum: Plugin Development 31/07/2015, 05:22 PM
Replies: 5,536
[Plugin] Streamer Plugin
Views: 3,015,015
Posted By !damo!spiderman
Re: Streamer Plugin

Try installing the .net framework
http://www.microsoft.com/en-us/downl...s.aspx?id=5555
http://www.microsoft.com/en-us/downl....aspx?id=30679
Forum: Plugin Development 31/07/2015, 04:59 AM
Replies: 5,536
[Plugin] Streamer Plugin
Views: 3,015,015
Posted By !damo!spiderman
Re: Streamer Plugin

What exactly doesn't work about it for you? I'm using Win10 and I have streamer plugin loading fine etc
Forum: Scripting Help 31/07/2015, 03:42 AM
Replies: 17
Views: 839
Posted By !damo!spiderman
Re: [Help] How to create races?

Do you know any scripting at all?

Basically have an array of your points for the checkpoints, have a variable which tracks each players checkpoint id. When the player enters the command set their...
Forum: Scripting Help 31/07/2015, 01:45 AM
Replies: 17
Views: 839
Posted By !damo!spiderman
Re: [Help] How to create races?

http://wiki.sa-mp.com/wiki/OnPlayerCommandText
http://wiki.sa-mp.com/wiki/SetVehiclePos
http://wiki.sa-mp.com/wiki/Function:SetPlayerCheckpoint
http://wiki.sa-mp.com/wiki/OnPlayerEnterCheckpoint
Forum: Plugin Development 30/07/2015, 11:00 PM
Replies: 134
Views: 42,248
Posted By !damo!spiderman
Re: samp.js - JavaScript for SA-MP

Big updates, mainly thanks to Laronic for doing lots of JavaScript helper classes and testing

samp.js 0.1.9.5 (http://damo.com.au/samp.js)

***General***
- Fixed issue with CallNativeGDK...
Forum: Scripting Help 30/07/2015, 10:45 PM
Replies: 7
Views: 524
Posted By !damo!spiderman
Re: Some Questions aBout Threaded Queries

It looks that way as they use the MySQL plugin and having defines like that seem to point to that but I can't be sure as the filterscript has been depreciated and the source code removed due to...
Forum: Scripting Help 30/07/2015, 08:38 PM
Replies: 7
Views: 524
Posted By !damo!spiderman
Re: Some Questions aBout Threaded Queries

Those functions are the ones that get called after the query is finished.

mysql_tquery(mysql, query, "OnAccountCheck", "i", playerid);

That function there is the threaded query function. You...
Forum: Scripting Help 30/07/2015, 07:44 PM
Replies: 7
Views: 524
Posted By !damo!spiderman
Re: Some Questions aBout Threaded Queries

Threaded queries run on a separate thread in the background. Basically SA-MP server is a single threaded program by default, which means any functions you run have to wait in turn to get executed....
Forum: Everything and Nothing 29/07/2015, 06:41 PM
Replies: 9
Views: 2,012
Posted By !damo!spiderman
Re: Nvidia drivers for windows 10

I've had Win10 for a few months and I've had various issues with the Nvidia drivers, some causing crashes and freezes in GTA:V which were fixed, then most recently in the past week I had issues with...
Forum: Scripting Help 28/07/2015, 12:19 AM
Replies: 14
Views: 891
Posted By !damo!spiderman
Re: How to use return 1/0 ?

The simplest and wrong explanation is the one above. Using the return statement will always return the function, no matter what you return
Forum: Scripting Help 27/07/2015, 10:19 PM
Replies: 14
Views: 891
Posted By !damo!spiderman
Re: AW: How to use return 1/0 ?

Really depends on what you want to do. Returning will exit the function. So if you want to cancel execution of other things when a condition is met then returning can be good. We can't really tell...
Showing results 1 to 25 of 243

 

All times are GMT. The time now is 06:43 PM.


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