Search Results
Quote: Originally Posted by [uL]Pottus That loss of precision is too small to have any major effect rule of thumb when working with floats use >= and <= I seriously never thought ...
96
Wierd thing is that if I subtract 0.1 from 15.1 it'll become 15.0. Is there anyway to do this without floats? Strings maybe?
96
Ello, Just a question... How come?
96
Mind giving me an example? EDIT : Nevermind, but formating vGallons to %.1f is not working...
79
Hello! Stumbled across a problem again, let me explain. I am storing decimal numbers inside a MySQL Database. They are automatically set as : 15.3. I load this into one of my vehicle variables that ...
79
I have no idea how MySQL works and i'm getting pretty frustrated. What do you mean by MySQL non changing key to the ingame volatile vehicleid. You can't create your own ingame vehicleid, those go by o...
205
I feel dumb and retarded now... Thank you Vince!
205
Ooh god that's exactly how I explained it lol. Only problem is that I can't get the stored vehicle ID from the database, since the vehicle ID of samp defers from the ID stored. Therefore I can not use...
205
Hello again! So i've been experimenting with MySQL for a while now but I still can't figure something out. I'm currently storing VehicleID's into a database. For example i've stored these : PHP ко...
205
Hi! SS's explain everything! The "hX" float does not store inside a variable for some odd reason. Yoran.
62
Aha! Is there anyway to reset the value of AUTO_INCREMENT without using PHPMYADMIN?
163
After doing so it resets the value of A_I. But what if you have deleted id 2 and you now have id 1 and 3 the next id would be 2. typing the cmd would make the next id... 3 right?
163
If you delete a vehicle from the database and you retype the command, it won't refill the deleted vehicle slot... It would just increase where it left off at.
163
PHP код: [21:08:52] CMySQLHandler::Query(INSERT INTO Vehicles (VehicleID, VehicleOwner) VALUES ('1', 'Bitch')) - An error has occured. (Error ID: 1062, Duplicate entry '1' f...
163
Ello! Been trying to figure out how MySQL works, kinda got the hang of it untill i stumbled across a problemo! PHP код: Vehicle ID 1 - Owner BLBLA Vehicle ID 4 - Owner BLBLA Vehicle...
163
For example : pawn Код: new tPlayer;if(sscanf(params, "u", tPlayer)) return SendClientMessage(playerid, -1, "Usage : /cmd [PlayerID/PartOfName]");
236
pawn Код: new name[24];GetPlayerName(playerid, name, 24);
73
Not sure if you mean by "Show your code over the loop" but this is what I'll give ya :P pawn Код: new text[500], HouseFile[500], zone[100], iString[500];                GetPlayerName(play...
91
Thank you jeff! Although the "Else not owning anyone" isnt executing when i dont own any houses.
91
Hi, For example : I own three houses ; ID 1, ID 5, and ID 6. I would be shown a dialog after logging in where I can spawn (Spawn at House ID 1, 5 or 6.). These houses would be shown in the dialog. Af...
91