Search Results
Quote: Originally Posted by x96664 This 2 answers were, what I exactly needed. Thank you! Glad I could help. There is one problem with what you have there. There is no reference to the ...
184
Try to copy and paste your code into TidyPawn and look for where the indentation goes all wacky. That should lead you to your missing bracket.
164
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 store co...
184
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, ...
111
Quote: Originally Posted by Vanter SetPlayerHealth(playerid, GetPlayerHealth(playerid)-10); -10 -123132 012313y1328713y use any number This method will not work due to GetPlayerHealth ...
123
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: https:/...
123
Quote: Originally Posted by ProjectMan Thank you for the tip! No problem. Good luck!
134
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 non-e...
151
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 other...
134
A quick ****** search for "free mysql hosting" gave me this website: http://www.freemysqlhosting.net/
151
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 functi...
159
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)
93
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 That is the enum that compil...
93
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]"
138
Quote: Originally Posted by Euan Hughes I have done that but it still dont work this is what i have pawn Код: new VehicleNamesNoID[213][] ={    "None",   "Landstalker",   "Bravura...
240
Thanks slice, I'll be sure to credit you somewhere relevant.
478
Make the first value in the array say "None" and change the -400 to -399 Also: Quote: Originally Posted by clarencecuzz EDIT: Nevermind. EDIT 2: pawn Код: format(string, sizeof(strin...
240
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 ...
478
Код: At the top: #define INVALID_DOOR -1 stock GetNextEmptyDoorSlot() { for(new i=0; i<MAX_DOORS; i++) { if(DoorInfo[i][dTaken] == 0) { return i; } ...
153