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: dowster
Forum: Includes 15/12/2015, 03:00 AM
Replies: 14
Views: 7,849
Posted By dowster
Re: Death Reasons Array

I'll take what I can get Crayder!
Forum: Scripting Help 27/08/2013, 01:58 AM
Replies: 9
Views: 789
Posted By dowster
Re: MySQL

Glad I could help. There is one problem with what you have there. There is no reference to the result and you may want to read more into how this works.



These are very wise words. I resemble...
Forum: Scripting Help 26/08/2013, 03:13 AM
Replies: 8
Views: 841
Posted By dowster
Re: so much undefined errors?

Try to copy and paste your code into TidyPawn (http://dracoblue.net/tidy/pawn/) and look for where the indentation goes all wacky. That should lead you to your missing bracket.
Forum: Scripting Help 26/08/2013, 02:46 AM
Replies: 9
Views: 789
Posted By dowster
Re: MySQL

Threading means that the plugin will go and run the query while allowing your script to resume execution.
Scenario:
You have two servers running the same gamemode, but using a MySQL server to...
Forum: Scripting Help 26/08/2013, 01:11 AM
Replies: 4
Views: 512
Posted By dowster
Re: Players have already house doesnt work

You aren't actually referencing the returned MySQL data. I would suggest reading the documentation for your MySQL plugin and figuring out how to see if your query was successful or not. In this case,...
Forum: Scripting Help 26/08/2013, 01:08 AM
Replies: 3
Views: 1,277
Posted By dowster
Re: how to - health now SetPlayerhealth

This method will not work due to GetPlayerHealth not actually returning other than fail/success boolean.

See: http://wiki.sa-mp.com/wiki/GetPlayerHealth
Forum: Scripting Help 26/08/2013, 12:54 AM
Replies: 3
Views: 1,277
Posted By dowster
Re: how to - health now SetPlayerhealth

You will want to get the player's health value by using GetPlayerHealth(playerid, health), subtract the returned value, and then pass that into SetPlayerHealth(playerid, health).

References:
...
Forum: Scripting Help 30/06/2013, 06:24 PM
Replies: 5
Views: 548
Posted By dowster
Re: Superbeginer Questions

No problem. Good luck!
Forum: Scripting Help 30/06/2013, 06:17 PM
Replies: 7
Views: 834
Posted By dowster
Re: Mysql errors

It shouldn't. As long as you have the table created in the database (in this case you're using the table 'users') it will work. I do not know if this script has inbuilt capabilities for creating...
Forum: Scripting Help 30/06/2013, 06:11 PM
Replies: 5
Views: 548
Posted By dowster
Re: Superbeginer Questions

I would recommend starting without using any of the libraries you mentioned above. Get to know the built in callbacks/functions. Once you are confident that you know the basics, start looking at...
Forum: Scripting Help 30/06/2013, 06:03 PM
Replies: 7
Views: 834
Posted By dowster
Re: Mysql errors

A quick ****** search for "free mysql hosting" gave me this website: http://www.freemysqlhosting.net/
Forum: Filterscripts 02/06/2013, 05:40 AM
Replies: 100
Views: 38,696
Posted By dowster
Re: Mysql Dynamic Houseing Script

I'm sure you've taken the necessary debugging measures and can provide him with why exactly it won't compile.
Forum: Scripting Help 17/03/2013, 01:40 AM
Replies: 2
Views: 437
Posted By dowster
Re: where can i learn about textdraws?

http://wiki.sa-mp.com/wiki/Textdraw
Forum: Scripting Help 25/09/2012, 12:33 AM
Replies: 15
Views: 2,303
Posted By dowster
Re: *******

You're better off reading up on how to do this, it's the only way you can better yourself. The resources that have been provided and suggested in this thread should be enough to get this started.
Forum: Scripting Help 27/07/2012, 06:51 AM
Replies: 9
Views: 975
Posted By dowster
Re: Gates

What's going on here is that the gate will open for a player with say ID 80, but when it goes to check ID 81, and they aren't near the gate, it will close the gate. What you should do is have a...
Forum: Scripting Help 21/07/2012, 06:51 PM
Replies: 3
Views: 1,397
Posted By dowster
Re: Odd error with setting a default value for an Enum

I knew I was having a brain burp. Any way to set a default value for that slot then? (ofcourse without looping the entire array)
Forum: Scripting Help 21/07/2012, 06:30 PM
Replies: 3
Views: 1,397
Posted By dowster
Odd error with setting a default value for an Enum

So I have my enum all setup, and the code compiles fine except for errors that pertain to unfinished pieces of the code. I want one (eventually more) of the slots in the ...
Forum: Scripting Help 15/07/2012, 07:54 PM
Replies: 8
Views: 1,108
Posted By dowster
Re: Was looking for a GM

Built in search isn't all that helpful, I'd recommend going to ****** and start your query with "site:forum.sa-mp.com [search query]"
Forum: Scripting Help 14/07/2012, 06:04 PM
Replies: 9
Views: 1,568
Posted By dowster
Re: Why cant i see what cars i have

VehicleNamesNoID[Player[id][PlayerCarModel]-399]

Should be

VehicleNamesNoID[Player[id][PlayerCarModel]-399


Same goes for the other 4 arguments
Forum: Tools and Files 14/07/2012, 04:42 PM
Replies: 10
Views: 6,316
Posted By dowster
Re: PAWN Scanner - Scan PAWN files for information.

Thanks slice, I'll be sure to credit you somewhere relevant.
Forum: Scripting Help 14/07/2012, 04:31 PM
Replies: 9
Views: 1,568
Posted By dowster
Re: Why cant i see what cars i have

Make the first value in the array say "None" and change the -400 to -399

Also:



This will not work because it's looking for the index 'PlayerCarModel-400' in the array, that index does not...
Forum: Tools and Files 14/07/2012, 03:41 PM
Replies: 10
Views: 6,316
Posted By dowster
Re: PAWN Scanner - Scan PAWN files for information.

Would you be okay with me using this to pretty up one of my projects. I was just going to have it dump the plain code in the browser for copy and paste but I'm thinking it would look alot nicer if it...
Forum: Scripting Help 26/06/2012, 04:04 AM
Replies: 2
Views: 489
Posted By dowster
Re: Solved

At the top: #define INVALID_DOOR -1

stock GetNextEmptyDoorSlot()
{
for(new i=0; i<MAX_DOORS; i++)
{
if(DoorInfo[i][dTaken] == 0)
{
return i;
}
Forum: Scripting Help 26/06/2012, 02:01 AM
Replies: 27
Views: 2,795
Posted By dowster
Re: Server freeze / Crash

I honestly cannot figure out how these would cause related problems.
Forum: Scripting Help 25/06/2012, 08:29 PM
Replies: 27
Views: 2,795
Posted By dowster
Re: Server freeze / Crash

Which mysql plugin are you using?

Also: I'm going to work, will be back in about 4 hours.
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 01:15 AM.


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