Dynamic vehicle saving system
#6

Quote:
Originally Posted by Prokill911
Посмотреть сообщение
Firstly..
Why are you using "%i" When you're not referencing / passing a playerid to another function
Secondly... You already created the value "Faction" When it's defined in the stock it's self...
PHP код:
stock SaveFactionVehicle(ModelFloat:xFloat:yFloat:zFloat:aColorAColorBFaction
Код:
 new Faction; <-- Delete that,
CHANGE
PHP код:
format(Querysizeof(Query), "INSERT INTO `dynamicvehicles` (ModelID, posX, posY, posZ, posA, ColorA, ColorB, Faction) VALUES(%d, %f, %f, %f, %f, %i, %i, %i)"
INTO
PHP код:
format(Querysizeof(Query), "INSERT INTO `dynamicvehicles` (ModelID, posX, posY, posZ, posA, ColorA, ColorB, Faction) VALUES(%d, %f, %f, %f, %f, %d, %d, %d)"
should work
Will try that and the i% was just a miss type
Reply


Messages In This Thread
Dynamic vehicle saving system - by McGuiness - 22.06.2015, 20:39
Re : Dynamic vehicle saving system - by KillerDVX - 22.06.2015, 20:41
Re: Re : Dynamic vehicle saving system - by McGuiness - 22.06.2015, 21:06
Re : Dynamic vehicle saving system - by KillerDVX - 22.06.2015, 21:15
Re: Dynamic vehicle saving system - by Prokill911 - 22.06.2015, 21:16
Re: Dynamic vehicle saving system - by McGuiness - 22.06.2015, 21:31
Re: Dynamic vehicle saving system - by McGuiness - 23.06.2015, 09:25
Re: Dynamic vehicle saving system - by Ritzy2K - 23.06.2015, 09:31

Forum Jump:


Users browsing this thread: 1 Guest(s)