Unknown Gamemode
#1

Why my gamemode is Unknown when i put that

pawn Код:
VcitajTune();
    new string2[64];
    for(new h = 1; h < sizeof(Vozila); h++)
    {
        format(string2, sizeof(string2), "ZaHeadi/Vozila/%d.ini",h);
        if(dini_Exists(string2))
        {
            ownedcar[h] = AddStaticVehicleEx(Vozila[h][Lokacijax],Vozila[h][Lokacijay],Vozila[h][Lokacijaz]+1.0,Vozila[h][Agol],60000);
            {
                SetVehicleModifications(h);
            }
        }
    }
In OnGameModeInit ? it working with this but when i put that

pawn Код:
ownedcar[h] = AddStaticVehicleEx(Vozila[h][Lokacijax],Vozila[h][Lokacijay],Vozila[h][Lokacijaz]+1.0,Vozila[h][Agol],60000);
Unknown
Reply
#2

You can't do this.
pawn Код:
ownedcar[h] = AddStaticVehicleEx(Vozila[h][Lokacijax],Vozila[h][Lokacijay],Vozila[h][Lokacijaz]+1.0,Vozila[h][Agol],60000);
{
     SetVehicleModifications(h);
}
Try:
pawn Код:
ownedcar[h] = AddStaticVehicleEx(Vozila[h][Lokacijax],Vozila[h][Lokacijay],Vozila[h][Lokacijaz]+1.0,Vozila[h][Agol],60000);
SetVehicleModifications(h);
Reply
#3

Again Unknown :/
Reply
#4

What you mean by 'Unknown'? Can you please show me the error?
Reply
#5

Not have error
Reply
#6

Well Your Pawno Says It Compiled But the .amx Is 0 KB ..
Reply
#7

NO !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)