Search Results
Your SQL query saves the data for ALL vehicles, that are owned by player named XXX_YYY Specifically this part: Code: WHERE owner = '%s'" , Your vehicles need a unique identifier and you need to use ...
138
Normally I ignore those code suggestions but I can't. DON'T use that code, wtf. It's awful. Quote: Originally Posted by BsLOUAY use this Code PHP Code: CMD:respawncars(playerid, par...
167
You need to use foreach for this is. That way you won't need to loop over unused vehicleids so this loop will become a lot quicker. But even then, lagging for 10 seconds seems unusually long. Are you...
167
Quote: Originally Posted by Venture1997 That's a really nice concept,not only for garages,but for interiors in general. I'll definitly take this ideia and try making something cool with it...
573
So the idea is to use already existing garages in place of mapping new ones underground, playing with virtual worlds, interiors, etc. This is not a showcase of a perfect map but an idea of how garage...
573
It's because you mixed up your getdate() function. It should be: Код: getdate(year, month, day);
109
Your CreateVehicle line is fine. Maybe the problem isn't on the server. Here is some things that you can consider trying out:Do you hear any sound at all after you press H? Maybe you unbound your hor...
407
Your code works. I literally just copy-pasted it ant tried it out on a Sultan. One problem that I fixed: Код: if(GetPlayerVehicleID(playerid) == INVALID_VEHICLE_ID) return SendClientMessage(playe...
157
I mean. You could do it. Add the custom weapon as an object. Attach it to the player, when the player equips a "fake" weapon that is in the slot that your weapon is supposed to be and edit the damage ...
672
You would need to query the list of phone numbers in your database. Something like this: "SELECT COUNT(*) FROM `accounts` WHERE `PhoneNumber` = '%i'" Format this string and insert your newly generate...
164
If you want a minimum value, then you have to start at that value and generate only how much is missing from your max. In your code it would be: Код: new rand = 10_000 + random(90_000); I would su...
164
Well, as the error suggests, it seems like you don't have a function named adminchat You should probably see if it can be accessed from this include, if it even exists, etc. Also, you errors changed ...
109
AFAIK the vehicle must be moving, otherwise you can't really change the speed (or I might be forgetting about something). Surely it won't be problematic to ask your players to move a little bit? http...
97
Also, the IsPlayerConnected check should be above the pData[targetID][pIsLoggedIn] check, shouldn't it? Because if you receive an Invalid Player ID with sscanf, then you will have an error when trying...
260
Quote: Originally Posted by Kyle Hi, Just a few improvements that could be made: The red checkpoint for the drive-thru is an eye sore. To continue on from that maybe remodel the Cluckin ...
2,006
AFAIK spawning a car deeper underwater will make it ignore the water effect. Toggling spectating for a player on and off while the player is swimming underwater will make them ignore the water effect....
173
I suspect you have forgotten a closing bracket or added one too many. I believe the problem is not in this specific code snippet but above it. You should look at the code above this. Did you close al...
150
If you use Incognito's streamer, then you can create dynamic areas around the houses and when somebody is close enough, have the textdraw displayed, https://github.com/samp-incognito/sa...wiki/Callb...
106
It seems that you tried to write to an array at an index that is above the size of said array? Trying to do everything with the crashdetect plugin and the gamemode compiled with the -d3 flag would he...
126
If you're speaking about JernejL's map editor, I think you need to add objects to samp.ide, samp.img. Then you can use them in the editor. I haven't tested it out myself, so I can't attest to this. ...
519