Search Results
I got this that way :P
Код:
#define AddingCar
new query[350];
format(query, sizeof(query), "INSERT INTO `scriptcars` (`CarType`, `UserGroupID`, `Model`, `Color1`, `Color2`, `PosX`, `Po...
83
So you mean, i should do one specially for the INSERT-ing and one specially for the loading cars when gm starts?
83
I forgot to tell you one thing, when gamemode starts, it will load my cars like that, so it would mess it up when i add mysql_insert_id over there.
Код:
publicEx LoadingSCars()
{
new rows, fi...
83
I have this code.
Код:
new query[350];
format(query, sizeof(query), "INSERT INTO `scriptcars` (`CarType`, `UserGroupID`, `Model`, `Color1`, `Color2`, `PosX`, `PosY`, `PosZ`, `Angle`,`ParkX...
83
So i have this code. It should update my car stats
Код:
UpdateCarFlo(car, "PosX", CarInfo[car][PosX]);
UpdateCarFlo(car, "PosY", CarInfo[car][PosY]);
......
Код:
public UpdateCarFlo(sCarId...
58
Yeah thanks, but to my first post. How to update them as i showed above, one by one. Float, string and int all with one function :P
164
Mm...But why it is a bad idea? That would be good to save things one by one, no? For example when i sell car, i can change the owner with that function and so i don`t have to save this anymore while g...
164
I have my functions like that
Код:
public UpdateOCarInt(qCarId, qValue[], qInt)
{
new query[140];
format(query, sizeof(query), "UPDATE ownablecars SET %s=%d WHERE ID=%d", qValue, qInt, qCarId);
...
164
Hello
In mysql i have these fields:
Suspect1,
Suspect2,
Suspect3,
Suspect4,
Suspect5,
_______________________________________
Now i want to do a DIALOG_STYLE_LIST.
I have to get those fields fro...
59
Furniture per house. So when i sell the house, the furniture won`t be deleted. So is that the only way, i have to make like 7*20 fields into mysql? And then on gm starting i load it into enum or how i...
121
You think it`s better to make a new table for furniture and mark these with ID. So in house enum i put like this:
HouseInfo[houseID][FurnitureID] = FurnitureTableID;
?
Are you sure that`s better way...
121
Hello
How should i save my house furniture in RP servers? I want to make that each people can own 20 furniture objects. But how i save them? Example please.
Larry
121
Hello, can someone share me code which removes the Blueberry factory on the map. I didn`t understand how RemoveObjectForPlayer works. So, if you know what i mean, that big factori over there.
60
So i have to put some objects on the outside and cover the garage? But why i can walk through the objects like in second picture?
52
Hello
I mapped a garage, but ingame it`s transparent from the outside, and i can walk through the objects. Is is fixable in some way? Object id-s are: 11389, 11391, 11390, 11388, 11393. And the 1st o...
52
Код:
static string1[25];
static sql1[90];
format(sql1, sizeof(sql1), "SELECT * FROM `houses` WHERE `OwnerID` = '%d'", idMySQL);
mysq...
40
It is mysql, but is this the only way:
On response i have to make for Glasses these variables:
Код:
enum pInfo
{
pObjectID,
pBoneID,
Float:pObject_x,
Float:pObject_y,
Flo...
69
Hello
I would like to do a command /glasses, when i write it then i get EditObject function, after when i click "Save", it saves to database, so what coords i have to save? And how can i load it when...
69
Hello
I want to do a police MDC, with player searching and stuff. But i don`t got any ideas how it supposed to be.
Can you explain me in text what happens when i search player(What informatsion i go...
47