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)
521
you can't read all of the files in a folder, simply gonna need a plugin - https://sampforum.blast.hk/showthread.php?tid=92246
475
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...
475
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.
646
you have to use SetObjectMaterial, instead of SetObjectMaterialText, you can change textures with that.
646
any chance give developers access to server-side .SAA? for manipulation of weapon and vehicle data.
142,471
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...
142,471
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...
467
wait, you want a winner even if they don't have a correct LottoNumber?
467
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...
467
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...
245
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.
245
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...
1,243
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...
389
this could be caused by anything, better check logs.
274
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 ...
595
first code is correct, you get only 9999 in first one?
595
nothing wrong, but there are some better ways. isn't it working?
595