Dynamic vehicle saving system
#1

I got a problem with my saving system for my dynamic vehicle system.

Its giving me these warnings:
Код:
C:\Users\SoulLedger\Desktop\Everest Roleplay\Sever Files\gamemodes\erp.pwn(8270) : warning 219: local variable "Faction" shadows a variable at a preceding level
C:\Users\SoulLedger\Desktop\Everest Roleplay\Sever Files\gamemodes\erp.pwn(8273 -- 8274) : warning 213: tag mismatch
C:\Users\SoulLedger\Desktop\Everest Roleplay\Sever Files\gamemodes\erp.pwn(8270) : warning 203: symbol is never used: "Faction"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
And here is the code:
pawn Код:
stock SaveFactionVehicle(Model, Float:x, Float:y, Float:z, Float:a, ColorA, ColorB, Faction)
{
    new Query[512];
    format(Query, sizeof(Query), "INSERT INTO `dynamicvehicles` (ModelID, posX, posY, posZ, posA, ColorA, ColorB, Faction) VALUES(%d, %f, %f, %f, %f, %i, %i, %i)",
    Model, x, y, z, a, ColorA, ColorB, Faction);
    mysql_query(Query);
    mysql_free_result();
    return 1;
}
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)