|
As for the database, aside from Horizon Roleplay, no one will be granted access, nor will it be made publicly available.
|
|
Not that he needs a community owners permission to release something the OP wrote under the GNU lic.
|
|
Was it scripted by you? And what was the reason behind open sourcing it?
|
|
NEWS: New NGG edit servers are on their way and will reach SA:MP by this month soon. Thank you.
Lol |
|
Btw, this wasnt approved by Devin (the owner) or dev director, Farva just got pissed off and released it.
|
|
Honestly this is shame! The script was sold for more than 1k dollars and now you are releasing it...
|
|
Honestly this is shame! The script was sold for more than 1k dollars and now you are releasing it...
|
stock SaveGate(id) {
mysql_format(MainPipeline, szMiscArray, sizeof(szMiscArray), "UPDATE `gates` SET \
`HID`=%d, \
`Speed`=%f, \
`Range`=%f, \
`Model`=%d, \
`VW`=%d, \
`Int`=%d, \
`Pass`='%e', \
`PosX`=%f, \
`PosY`=%f, \
`PosZ`=%f, \
`RotX`=%f, \
`RotY`=%f, \
`RotZ`=%f, \
`PosXM`=%f, \
`PosYM`=%f, \
`PosZM`=%f, \
`RotXM`=%f, \
`RotYM`=%f, \
`RotZM`=%f, \
`Allegiance`=%d, \
`GroupType`=%d, \
`GroupID`=%d, \
`RenderHQ`=%d, \
`Timer`=%d, \
`Automate`=%d, \
`Locked`=%d, \
`TIndex`=%d, \
`TModel`=%d, \
`TTXD`='%e', \
`TTexture`='%e', \
`TColor`=%d, \
`Facility`=%d \
WHERE `ID` = %d",
GateInfo[id][gHID],
GateInfo[id][gSpeed],
GateInfo[id][gRange],
GateInfo[id][gModel],
GateInfo[id][gVW],
GateInfo[id][gInt],
GateInfo[id][gPass],
GateInfo[id][gPosX],
GateInfo[id][gPosY],
GateInfo[id][gPosZ],
GateInfo[id][gRotX],
GateInfo[id][gRotY],
GateInfo[id][gRotZ],
GateInfo[id][gPosXM],
GateInfo[id][gPosYM],
GateInfo[id][gPosZM],
GateInfo[id][gRotXM],
GateInfo[id][gRotYM],
GateInfo[id][gRotZM],
GateInfo[id][gAllegiance],
GateInfo[id][gGroupType],
GateInfo[id][gGroupID],
GateInfo[id][gRenderHQ],
GateInfo[id][gTimer],
GateInfo[id][gAutomate],
GateInfo[id][gLocked],
GateInfo[id][gTIndex],
GateInfo[id][gTModel],
GateInfo[id][gTTXD],
GateInfo[id][gTTexture],
GateInfo[id][gTColor],
GateInfo[id][gFacility],
id+1
);
mysql_tquery(MainPipeline, szMiscArray, "OnQueryFinish", "i", SENDDATA_THREAD);
return 0;
}
|
There is something wrong with this code below and I can't seem to see it. Can anyone help?
Errors are like these: ./includes/dynamic/gates.pwn(1065) : error 075: input line too long (after substitutions) ./includes/dynamic/gates.pwn(1066) : error 037: invalid string (possibly non-terminated string) ./includes/dynamic/gates.pwn(1066) : error 017: undefined symbol "UPDATE" ./includes/dynamic/gates.pwn(1066) : error 029: invalid expression, assumed zero ./includes/dynamic/gates.pwn(1066) : fatal error 107: too many error messages on one line Код:
stock SaveGate(id) {
mysql_format(MainPipeline, szMiscArray, sizeof(szMiscArray), "UPDATE `gates` SET \
`HID`=%d, \
`Speed`=%f, \
`Range`=%f, \
`Model`=%d, \
`VW`=%d, \
`Int`=%d, \
`Pass`='%e', \
`PosX`=%f, \
`PosY`=%f, \
`PosZ`=%f, \
`RotX`=%f, \
`RotY`=%f, \
`RotZ`=%f, \
`PosXM`=%f, \
`PosYM`=%f, \
`PosZM`=%f, \
`RotXM`=%f, \
`RotYM`=%f, \
`RotZM`=%f, \
`Allegiance`=%d, \
`GroupType`=%d, \
`GroupID`=%d, \
`RenderHQ`=%d, \
`Timer`=%d, \
`Automate`=%d, \
`Locked`=%d, \
`TIndex`=%d, \
`TModel`=%d, \
`TTXD`='%e', \
`TTexture`='%e', \
`TColor`=%d, \
`Facility`=%d \
WHERE `ID` = %d",
GateInfo[id][gHID],
GateInfo[id][gSpeed],
GateInfo[id][gRange],
GateInfo[id][gModel],
GateInfo[id][gVW],
GateInfo[id][gInt],
GateInfo[id][gPass],
GateInfo[id][gPosX],
GateInfo[id][gPosY],
GateInfo[id][gPosZ],
GateInfo[id][gRotX],
GateInfo[id][gRotY],
GateInfo[id][gRotZ],
GateInfo[id][gPosXM],
GateInfo[id][gPosYM],
GateInfo[id][gPosZM],
GateInfo[id][gRotXM],
GateInfo[id][gRotYM],
GateInfo[id][gRotZM],
GateInfo[id][gAllegiance],
GateInfo[id][gGroupType],
GateInfo[id][gGroupID],
GateInfo[id][gRenderHQ],
GateInfo[id][gTimer],
GateInfo[id][gAutomate],
GateInfo[id][gLocked],
GateInfo[id][gTIndex],
GateInfo[id][gTModel],
GateInfo[id][gTTXD],
GateInfo[id][gTTexture],
GateInfo[id][gTColor],
GateInfo[id][gFacility],
id+1
);
mysql_tquery(MainPipeline, szMiscArray, "OnQueryFinish", "i", SENDDATA_THREAD);
return 0;
}
|
|
is it even working for u, i mean the server server.exe not showing any errors?
|