Search Results
Hello, you have to change MySQL query, to detect that, you have to use PHP Code: SELECT `ID_WEAPON` FROM `PLAYER_WEAPONS` WHERE `NAME_USER` = '%s'  %s means PlayerName(playerid)
352
you can't read all of the files in a folder, simply gonna need a plugin - https://sampforum.blast.hk/showthread.php?tid=92246
335
For first, stop using dini2, better to move on improved database management systems, such as MySQL... OT: You have to check all of the user files and get a current faction ID (if it's exists at all) o...
335
no, you don't have to use it like a sprite (I mean ld_grav:bee1), just take a texture name from ld_grav.txd, in that case bee1.
457
you have to use SetObjectMaterial, instead of SetObjectMaterialText, you can change textures with that.
457
any chance give developers access to server-side .SAA? for manipulation of weapon and vehicle data.
117,243
0.3.DL is a great version, well it have a small bugs, but it's not noticeable, at least it's playable and it's very popular for role-play servers. I've created a lots of stuff for DL version as myself...
117,243
okay, it means that we have to prioritize the lotto numbers first, then if there is not a winner by that number, we should start a new lottery by the players, so, I'll write a code here to do that. P...
258
wait, you want a winner even if they don't have a correct LottoNumber?
258
Well, first, use GetPlayerPoolSize instead of MAX_PLAYERS, no need to loop through whole 1000 player if they're not connected. Second, you're making it correct, but return is extra, you don't need tha...
258
No, you don't need 3 dimensional array, also, there is a wrong placement in your code. I suggest to use something like that PHP Code: enum VEHICLE_DATA {     vModel,     vOwner[MAX_PLAYE...
145
use one array for both of them, add variable where will be placed a vehicle owner type, for example, lets call server cars type 0 and player cars type 1.
145
So you only tested it in your local computer (win 10) and that vps? problem could be in your VPS configuration or it's connections, check in another vps/server or test-hosting. check your VPS's networ...
981
what OKStyle wrote is a correct for a player, but if you want to detect the water without player, than you have to use less than 0 Z coord, except some places, where less than 0 is nothing (clear plac...
252
this could be caused by anything, better check logs.
166
Quote: Originally Posted by NeXTGoD Try by ID and not by name it will work Code: stock GetFactionNameByID(classid) { new String[30]; switch(classid) { case 0: String ...
401
first code is correct, you get only 9999 in first one?
401
nothing wrong, but there are some better ways. isn't it working?
401