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: Ash.
Forum: Scripting Help 01/12/2015, 09:12 AM
Replies: 0
Views: 963
Posted By Ash.
KEY_CTRL_BACK

I'm not sure whether this needs to go here or elsewhere... but when I press "R" or "DEL" to change the radio in a vehicle, it appears I'm also pressing "H".

if((newkeys & KEY_CTRL_BACK) &&...
Forum: Scripting Help 12/11/2015, 12:57 AM
Replies: 9
Views: 1,212
Posted By Ash.
Re: Actors scripting spawning problem

It sounds as if, based on what changes you made to begin with, you have a "return" statement in your code. A return statement halts the sequential execution of that block of code at the return,...
Forum: Scripting Help 11/03/2015, 03:35 PM
Replies: 1
Views: 545
Posted By Ash.
Maths: Calculating the angle required to face on checkpoint from a current location.

I'm not mathematically minded, so I'm struggling with this one.

I'm setting up a dynamic race system, in which checkpoints and races are created entirely in-game. I have a starting checkpoint (1st...
Forum: General 23/10/2013, 10:29 AM
Replies: 6
Views: 1,021
Posted By Ash.
Re: GTASA & SA-MP Problem!

It sounds like Windows 7 is caching the gta3.img file. You need to disable disk caching (at least temporarily).

Find 'Device Manager' in 'Computer' > 'System Properties' (In 'Hardware'). In 'Disk...
Forum: Scripting Help 13/09/2013, 06:16 PM
Replies: 6
Views: 618
Posted By Ash.
Re: The strangest crash ever.

It looks related to crashdetect itself. Try disabling the plugin and see if the server still crashes (though, be aware, it won't tell you in the server_log, it'll just stop).
Forum: Client Support 09/09/2013, 10:31 PM
Replies: 11
Views: 6,153
Posted By Ash.
Re: SA-MP & Windows 8 major problem

I'm using Windows 8 Pro, and have none of the issues reported. I have set no compatibility options, just a "straight-off-the-install" start-up and it works fine. Does the issue still occur in Single...
Forum: Server Support 09/09/2013, 07:40 PM
Replies: 15
Views: 1,307
Posted By Ash.
Re: Server log strange errors

Should it not just be
Mobile[i]
instead of
Mobile[Mobile[i]]

What that code essentially says is that the array index is the content of the array at index I, which doesn't make sense no matter...
Forum: Scripting Help 09/09/2013, 10:35 AM
Replies: 5
Views: 878
Posted By Ash.
Re: Passenger NPC?

Sorry for the bump, however ApplyAnimation doesn't work on these bots either.
Forum: Scripting Help 09/09/2013, 05:52 AM
Replies: 5
Views: 878
Posted By Ash.
Re: Passenger NPC?

Well, the bot needs to go in the back of an ambulance as a player enters a checkpoint surrounding the bot, , and the bot ID is stored as they connect (which works successfully). The code is then:...
Forum: Scripting Help 08/09/2013, 11:58 PM
Replies: 5
Views: 878
Posted By Ash.
Re: Passenger NPC?

Yes, the bot just stands there like a lemon.
Forum: Scripting Help 08/09/2013, 11:23 PM
Replies: 5
Views: 878
Posted By Ash.
Passenger NPC?

Evening,

Just wondering how I can get an NPC in a vehicle as a passenger. I've been trying all night but with no avail. Also, searching has not helped, as results push me toward to the NPC...
Forum: Scripting Help 05/09/2013, 10:01 AM
Replies: 4
Views: 500
Posted By Ash.
Re: need PPC_Trucking help

Post in the PPC_Trucking topic. Or, alternatively, search for a user named 'malaka', who has released a properly compiled and working version of the gamemode for 0.3x.
Forum: Server Support 30/08/2013, 10:59 PM
Replies: 12
Views: 7,270
Posted By Ash.
Re: Make a subdomain in cPanel, that acts as server IP

That's how I do it, as my domain points to their nameservers and I've setup A records (and others for mail and what-not) to point to my server!



I never knew it were based on an ISP cache, I...
Forum: Client Support 30/08/2013, 02:35 PM
Replies: 6
Views: 1,769
Posted By Ash.
Re: Access violation & Out of memory

That sounds very odd, the SA-MP client window only uses 2.9mb of RAM on my computer. Try reinstalling the client? Are you sure you have the official client from http://www.sa-mp.com/download.php?
...
Forum: Scripting Help 29/08/2013, 12:42 PM
Replies: 4,144
Views: 633,913
Posted By Ash.
Re: Little coding questions - For general minor queries 5

Not specifically, no, but you could do something like this:


public OnPlayerCommandText(playerid, cmdtext[])
{
new lastCommand[128];
GetPVarString(playerid, "lastCommand", lastCommand, 128);...
Forum: Server Support 29/08/2013, 12:33 PM
Replies: 12
Views: 7,270
Posted By Ash.
Re: Make a subdomain in cPanel, that acts as server IP

I'm not using any version cPanel, I manage my own server's through SSH or the software's web control counterparts. I don't use my server in a way that cPanel would benefit from it!
Forum: Server Support 29/08/2013, 09:39 AM
Replies: 12
Views: 7,270
Posted By Ash.
Re: Make a subdomain in cPanel, that acts as server IP

Technically any DNS change has to refresh over the network according to it's TTL (Time-To-Live). I've not known A record changes to take any longer than 15 minutes, and have had them seem 'instant'....
Forum: Server Support 28/08/2013, 11:55 PM
Replies: 12
Views: 7,270
Posted By Ash.
Re: Make a subdomain in cPanel, that acts as server IP

Assuming that your DNS is on the same server as the cPanel administration tool (and that cPanel is managing it), you can do it through cPanel. It's been a few years since I've used cPanel, however if...
Forum: Server Support 28/08/2013, 11:07 PM
Replies: 12
Views: 7,270
Posted By Ash.
Re: Make a subdomain in cPanel, that acts as server IP

You'll have to use a DNS manager for this, an 'A' record will need to be setup under the subdomain of your pleasing pointing directly to your server IP, as a redirect won't work here.
Forum: Client Support 24/08/2013, 05:23 PM
Replies: 2
Views: 567
Posted By Ash.
Re: Controls Issue

My desk runs through a port replicator for a Toshiba laptop, which is essentially a fancy name for 'USB Hub with a few more ports like Ethernet and VGA'. There was probably some abnormal interference...
Forum: Client Support 24/08/2013, 10:28 AM
Replies: 2
Views: 567
Posted By Ash.
Controls Issue

Morning all!
I've been having a strange issue with SA-MP lately. It appears that my 'DEL' key (Special Vehicle Action 2 or whatever it is, the key that moves the tow truck arm down) is constantly...
Forum: Scripting Help 22/08/2013, 07:19 PM
Replies: 2
Views: 696
Posted By Ash.
Re: Invisible Map Icons for NPC's?

So, as per http://wiki.sa-mp.com/wiki/SetPlayerMarkerForPlayer, it should actually be SetPlayerMarkerForPlayer(forplayerid, playerid, 0x00000000);
//arg1: The player that will see the player's...
Forum: Scripting Help 22/08/2013, 06:42 PM
Replies: 2
Views: 696
Posted By Ash.
Invisible Map Icons for NPC's?

Hey,
I can't seem to make my NPC's invisible! It works initially, and by initially I mean when the server restarts and a player is connected, from then on they will be invisible for that player,...
Forum: Scripting Help 21/08/2013, 11:58 PM
Replies: 8
Views: 658
Posted By Ash.
Re: Using arrays?

Apologies, use 'vehicleid' as per my code snippet instead of GetPlayerVehicleID. I'm too used to working with OnPlayerStateChange!

Ash
Forum: Scripting Help 19/08/2013, 11:44 AM
Replies: 4
Views: 532
Posted By Ash.
Re: What's wrong with my FS ?

You have a public declaration within another public declaration. I'm sure that's not what you want to happen! Either remove CMD:race(...) and the relevant braces or remove the 'SetRaceCheckpoint'...
Showing results 1 to 25 of 500

 

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


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