Search Results
Hmm, good to know, thank you for the help.
120
Oh.... That's.... Really God damn simple actually, I can't believe I didn't think of that. Thank you. Oh, another question, though... With the: case 1..100 thing, is it possible to do like: case...
120
Apologies for the bump, but some help with this issue would be greatly appreciated.
120
Quote: Originally Posted by Abagail If you have everything you're saving stored it should work(assuming you are attempting to save using variables and not functions relying on the player b...
150
It's probably because you're trying to save for a specific playerid, and because you're waiting, by the time you run the saveaccount code, the player has already left the game, OnPlayerDisconnect is c...
150
I am genuinely baffled about how I'd go about doing this in my code, I have the code below, for displaying a dialog for the cars the player owns: Код: VehicleMenu(playerid) { new str[500], cars ...
120
Well, the flag ID is 2914, all you'd do really is: new Flag[MAX_PLAYERS]; or something if you're doing one flag for each player in a hydra, you'd put that at the top of your script. If not, just skip...
134
I can't, really, since I don't know what you're trying to do, you need to create an object to go on that vehicle, and then use the attach option to attach it, only you can really do it since I really ...
134
You're trying to attach the object 'objectid', which isn't part of the OnPlayerEnterVehicle public call, you'd do something like: new Object = CreateObject(bla bla bla) And then under OnPlayerEnterV...
134
I fixed it in the end, it just doesn't like car ID 1 in the server for some odd reason, I just reasoned that because it's for owned cars, it'll never have to unload ID 1, since cars the server makes a...
70
Right... Back again. I have a vehicle system that works perfectly for the most part, vehicle creation and everything is fine, and it always works without issue, it fills in any missing ID's on the My...
70
Quote: Originally Posted by jamesbond007 jesus christ that indentation.. why not make it easy for yourself and align brackets I usually do, but give me a break, it was midnight when I w...
136
Arrays, perhaps? Like, instead of: pCrime0 all the way to fifteen, have Code: pCrime[15], pCrimeReasons[15][128], Or something like that? You'd still have to save it all separately, though, I don'...
59
So, back again, this time, having issues with respawning cars... Relevant code below: Код: CMD:rc(playerid, params[]) { new count = 0, respawncount = 0, pcount = 0; for(new i = 0; i < MAX_P...
136
Quote: Originally Posted by Roberto80 Uhm,i don't know about SQL but why'%e'? Try to use '%s' '%e' tells mysql to escape the data, if I remember correctly, to avoid issues, it's a prett...
110
Nevermind, it was an issue with having strings and floats in the same array. Fixed.
153
My apologies, that line is fine the way you had it, I got it wrong, the way it should look is: Код: DestroyDynamicObject(MetalDectors[id][detectorObject][0]); DestroyDynamicObject(MetalDectors[id...
219
First off, if you haven't already, move: new MetalDectors[MAX_METAL_DETECTORS][detectorData]; So that this is how your code part should look: Код: enum detectorData { detectorID, detect...
219
Change: new MetalDectors[MAX_METAL_DETECTORS][dectectorData]; To: new MetalDectors[MAX_METAL_DETECTORS][detectorData];
219
Quote: Originally Posted by dominik523 Okay so I'm not sure will this fix anything, but try to replace all "float" with "Float". It might be an issue with tags, I'm not sure but try it any...
153