Search Results
Does the dialog box show when you connect? If not, it's a connection issue to the database. Double-check your user/pass and database name.
19
Check the console. Does it connect correctly? Is the username and password correct?
19
Quote: Originally Posted by EtayJ Thanks But the one that I linked is the one I need, right? Do I need anything else other than the one I linked? Not for MySQL, but there are others pl...
14
"REL" means it's a release. About it being easy, everyone learns at their own pace and in their own way. Try it out for yourself.
14
Quote: Originally Posted by Sanady Well, I had a similar problem, my version of problem was that I couldn`t start any game, so it`s a virus, with your specs you can run modern games, so re...
10
These are (enum)urators. As for just loading one value. When they enter a business(/enter) loop through the businesses, IsInBusiness[playerid] = i; - i being the business ID. From here: SELECT Owner ...
19
You don't use enums? Are you sure? 1) Lag. Think about it. If you had 100 users all run into a shop, that will most /likely/ lag like a motherfucker. 2) Security. This is a massive security flaw. If ...
19
You make a variable in the business enums. "Money"? When someone purchases something BizInfo[businessid][Money] += amount; From here you then "Update .. SET Money = %d", BizInfo[businessid][Money]);"...
19
You don't need the '' quotes around integers, only strings. Also, "SELECT * FROM `shop` WHERE `ID` = %d". Why are you selecting everything from the shop when you only have to update the "owner" field?...
19
Replace it. You should always create a backup of your work before proceeding.
15
Are you lot that blind to be missing the only "Unable to load filterscript 'vaction.amx'. "?
9
https://sampwiki.blast.hk/wiki/RemovePlayerAttachedObject
16
no. Just no. You post your issues here or not at all. Is that so when they help you, you can spam the shit of them with more problems that will occur?
15
Quote: Originally Posted by xVIP3Rx Debug the health value before and after changing it, you're probably doing something wrong in there. I haven't. Is there any way to convert it to a s...
38
Код: public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart) { floatsub(PlayerInfo[playerid][Health], amount); if(weaponid == 4) floatsub(PlayerInfo[playerid][Health]...
38
I guess I didn't read up about floatround properly then. However, tried that as well.. It spazzes it out as per the image. I tried floatsub - floatsub(PlayerInfo[playerid][Health], amount); - and it ...
38
I have a variable for the players Health. (PlayerInfo[playerid][Health]). It loads perfectly when they log in, however, when they take damage, this happens: I've tried using floatround, but that do...
38