Search Results
* DaRkM blushes. <3 - Josh Quake
159
Page 7 bump. I really need help with this. Thanks.
66
is this in a for loop? for(new i = 0; i < MAX_PLAYERS; i++) Please provide the surrounding lines. That line is used when the playerid is unknown (looping through 1-500 [or w/e defined] to check e...
88
I've tried that already, but did again for good measure. Unfortunately it didn't change anything.
66
Hey I've been having this problem where sscanf doesnt seem to want to apply the mySQL row to an enum, and I just cant figure out what is wrong. I've tried searching but all the threads with this probl...
66
Our playerbase is about 150-200 daily, though we switched to a new host with linux and it's a bit unstable, so I don't want to add on to the instability. The plan has kinda changed and I may not need ...
126
Quote: Originally Posted by Yuryfury I honestly can't think of a way to do it with an "unlimited" number of virtual worlds. If you were to do, say, 500 worlds (1 for each player) you ca...
126
Quote: Originally Posted by [ABK]Antonio "- If -1 is specified for any of the optional parameters (worldid, interiorid, and playerid), the items will be streamed for all virtual worlds, in...
126
Is there a way to have an object appear in all virtual worlds, but then exclude specific virtual worlds? The only way I know I can do is just copy/paste the objects and change the virtual world that...
126
As Killer knows I'm new to sscanf, but would it be possible to store all names in biz and then use sscanf to get the right name or something? pawn Код: new biz[500];        format(biz, sizeof...
164
Yes! Thank you very much! Didn't realize the string length had to match.
83
I know. I'm asking what the correct way would be, as this is the first time using sscanf, and I'm not sure which specifier you mean.
83
Here's the whole thing: pawn Код: public LoadCar(){    mysql_query("SELECT * FROM samp_vehicles");    mysql_store_result();    new row[4000], carid;    while(mysql_fetch_row(row))    { ...
83
I'm new to sscanf, so I'm not sure what exactly is going on, but it looks like first string isn't stopping at the delimiter. Everything after the first string is being skipped until the very end, whi...
83
I've just been working on SQL vehicles as well. I believe I got it working if by setting it up like this: pawn Код: format(query, sizeof(query), "UPDATE `vehicles` SET `x`='%f', `y`='%f', `z`='%f'...
128
I edited the post above your reply so I'll paste what I said in case you didnt notice. Quote: Still skipping those variables listed above as well. Also seems to be setting those fields in ...
124
I checked the enum and sscanf. enum has 32 variables, sscanf has 32 variables. With this new attempt, it's skipping the first vehicle in the DB and loading only the second. Still skipping those varia...
124
Still only loading the first vehicle as well as the following. skips cOwned, cPlate, cLock, cPaintjob, cVirWorld, cUnused. cComponent0 - cComponent13 is fine. Skips cCode, cTicketer, and sets cParkT...
124
Alright it's working now, though only loading the first car in the DB, and for some reason the plate doesn't change(the second string). EDIT: I also added another sscanf to set the carid array. pawn...
124