SA-MP Forums Archive
Unknown Gamemode - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Unknown Gamemode (/showthread.php?tid=475319)



Unknown Gamemode - teomakedonija - 12.11.2013

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


Re: Unknown Gamemode - Loot - 12.11.2013

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);



Re: Unknown Gamemode - teomakedonija - 12.11.2013

Again Unknown :/


Re: Unknown Gamemode - Loot - 12.11.2013

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


Re: Unknown Gamemode - teomakedonija - 12.11.2013

Not have error


Re: Unknown Gamemode - Ghazal - 12.11.2013

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


Re: Unknown Gamemode - teomakedonija - 12.11.2013

NO !