Search Results
There is no need to convert between decimal and hexadecimal because there is nothing to convert. It's the same number. Just fetch and store with the regular Int functions like you would any other numb...
194
Like any other integer value. They might come out looking like -15786300 or something like that but that's normal. The reason you can use -1 in SendClientMessage to get white is that -1 is exactly the...
194
Quote: Originally Posted by Hansrutger I don't see the reason why to call it donating? Tax reasons.
664
Restructure your array so that it looks like this: Код: P_CHEMICAL[playerid][id][Amount] Also you shouldn't name regular variables in all caps; identifiers in all caps are usually reserved for con...
144
Hmm, are you trying to add two identical rows together? Same player, same item id? Because I'm not quite grasping the context. What you should probably do is: a) remove the id field and the keys asso...
244
Oh. Uhm, well it is a rather strange query. Do you mind showing your data structure? Perhaps there is better way to do it.
244
A subquery needs to be a full fledged query. PHP Code: UPDATE `player_inventory` SET `amount` = `amount` + (SELECT `amount` FROM player_inventory WHERE `id` = %d) WHERE `id` = ...
244
Does it remove the LOD model as well, i.e. does it produce two different RemoveBuilding lines? The LOD model (Low Object Detail) is displayed when you're farther away than 300 meters.
292
MD5 has been proven insecure. Use the inbuilt SHA256_PassHash() function instead.
248
You put all the contents of that command in a separate function and then you call that function from wherever you want. Return cmd_ is, IMO, a poor design choice.
416
See this thread: https://sampforum.blast.hk/showthread.php?tid=360408
292
In what language is it customary to start every damn word with a capital letter? It's even more annoying to read than all caps. Make sure that you close the MySQL connection in OnGameModeExit.
596
It seems too big to represent the interior of such a small boat. But it could be used for other purposes. Perhaps as a hotel room or even a hospital room.
596
Quote: Originally Posted by Hansrutger but again [XenForo] costs but once you pay you have it forever, unlike IPB. Invision Power is the same thing. Once bought, you can use it forever....
667
Do you also destroy the textdraw when the player disconnects? PlayerTextDraw is automatically destroyed on disconnect, regular TextDraw is NOT. I think you're hitting the limit which prevents any furt...
192
This is very confusing to read. I can also see several issues but none seem to be directly related. 1) Your queries are vulnerable to SQL injection because you're not escaping user input. Use mysql_f...
157
Colors are numbers not text. They just happen to be presented in hexadecimal (base 16) instead of decimal (base 10) most of the time because that's easier to read; each color component (red, green, bl...
170
This has already been discussed countless times. vBulletin used to be the standard, but no longer. Quality suffered greatly when IB took over Jellsoft. They also charge you for every upgrade unlike ot...
667
You can use this: https://pastebin.com/MG7sgr8V It's not advanced at all, so I don't mind. I wrote this in 5 minutes a few days ago when I needed something similar. It basically the same idea that Art...
151
If you add a new streamed entity in the immediate vicinity of the player then it will not be streamed until you leave the area and come back. The plugin divides the map in cells (imagine a large grid ...
200