Sa Skriptom prva tema neznam kako uradit

Započeo Santiego_Jefferson, Septembar 21, 2019, 23:48:24 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Ovo je skripta za ownercarship i sve lepo uradim vidim okey je kad compile izbaci mi warning
Prvi put trazim pomoc pa neznam kako uradit temu itno mi je



Warnings
C:\Users\eXpert\Desktop\vvvv\world\gamemodes\improvedlife.pwn(202) : warning 213: tag mismatch
C:\Users\eXpert\Desktop\vvvv\world\gamemodes\improvedlife.pwn(203) : warning 213: tag mismatch
C:\Users\eXpert\Desktop\vvvv\world\gamemodes\improvedlife.pwn(204) : warning 213: tag mismatch
C:\Users\eXpert\Desktop\vvvv\world\gamemodes\improvedlife.pwn(205) : warning 213: tag mismatch
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


4 Warnings.



Skripta
   enum vInfo
{
   vGazda[100],
   vCarX,
   vCarY,
   vCarZ,
   vCarA,
}
new VehInfo[MAX_VEHICLE][vInfo];

forward LoadVeh_data(playerid, name[], value[]);
public LoadVeh_data(playerid, name[], value[])
{
    INI_String("Gazda", VehInfo[playerid][vGazda], 100);
    INI_Float("CarX", VehInfo[playerid][vCarX]);
    INI_Float("CarY", VehInfo[playerid][vCarY]);
    INI_Float("CarZ", VehInfo[playerid][vCarZ]);
    INI_Float("CarA", VehInfo[playerid][vCarA]);
      return 1;
}
stock Zacuvajveh(playerid)
{
    new INI:Fajl = INI_Open(IgraciPath(playerid));
    INI_SetTag(Fajl, "data");
    INI_WriteInt(Fajl, "Poteklo", PlayerInfo[playerid][Poteklo]);
    INI_WriteInt(Fajl, "Pol", PlayerInfo[playerid][Pol]);
    INI_WriteInt(Fajl, "Vozrast", PlayerInfo[playerid][Vozrast]);
    INI_WriteInt(Fajl, "Skin", PlayerInfo[playerid][Skin]);
    INI_WriteInt(Fajl, "Registriran", PlayerInfo[playerid][Registriran]);
    INI_WriteInt(Fajl, "Exp", PlayerInfo[playerid][Exp]);
    INI_WriteInt(Fajl, "Level", PlayerInfo[playerid][Level]);
    INI_WriteInt(Fajl, "Karakter", PlayerInfo[playerid][Karakter]);
    INI_Close(Fajl);
    return 1;
}
Poslednja Izmena: Septembar 22, 2019, 16:57:27 POSLE PODNE od Bašovski