[POMOC]Jelke

Započeo xLanmi, Decembar 04, 2014, 12:07:14 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Moj edit upa  :)
Detaljno Objasnjenje:E ovako ja ocu na jelke da stavim label pa sam teo da napravim dinamicne ali dobijam ove erorre
Deo skripte:YCMD:jelkica(playerid, params[],help)
{
#pragma unused help
if(PlayerInfo[playerid][pAdmin] >= 6)
    {
    new idjlk, Float:X2, Float:Y2, Float:Z2, Float:Angle, afajl[60];
GetPlayerPos(playerid, X2, Y2, Z2); GetPlayerFacingAngle(playerid, Angle);
if(sscanf(params, "i",idjlk)) return SendClientMessage(playerid,CRVENA,"/jelkica [ID]");
    if(idjlk >= MAX_JELKI) return SendClientMessage(playerid,CRVENA, "Ne mozes taj ID!");
format(afajl, sizeof(afajl), JLK_FILE, idjlk);
if(fexist(afajl)) return SCM(playerid,CRVENA, "Ta jelka vec postoji!");
JlkInfo[idjlk][jKreirana] = 1; JlkInfo[idjlk][jAngle] = Angle;
    JlkInfo[idjlk][jX] = X2+1; JlkInfo[idjlk][jY] = Y2; JlkInfo[idjlk][jZ] = Z2;
    JlkInfo[idjlk][jInt] = GetPlayerInterior(playerid); JlkInfo[idjlk][jVW] = GetPlayerVirtualWorld(playerid);
    KreirajJLK(idjlk); SacuvajJLK(idjlk); SCM(playerid,-1,"Kreirali ste jelku (/editjelku)!");
    }
    return 1;
}

Erori koji se pojavljulju
C:\mojmod.pwn(1259) : error 021: symbol already defined: "eData"
C:\mojmod.pwn(32173) : error 035: argument type mismatch (argument 2)
C:\mojmod.pwn(32174) : error 035: argument type mismatch (argument 2)
C:\mojmod.pwn(32176) : error 035: argument type mismatch (argument 2)

Linije ove tri ovaj prvi eror sam sredio
if(idjlk >= MAX_JELKI) return SendClientMessage(playerid,CRVENA, "Ne mozes taj ID!");
format(afajl, sizeof(afajl), JLK_FILE, idjlk);
if(fexist(afajl)) return SCM(playerid,CRVENA, "Ta jelka vec postoji!");
JlkInfo[idjlk][jKreirana] = 1; JlkInfo[idjlk][jAngle] = Angle;

a ako nemozete ovo da sredite da li bi mogli reci kako da na ove jelke
CreateDynamicObject(19076, 1408.77, -1409.43, 13.19,   0.00, 0.00, 0.00);
CreateDynamicObject(19076, 1408.40, -1420.91, 13.19,   0.00, 0.00, 0.00);
CreateDynamicObject(19076, 1408.09, -1432.74, 13.19,   0.00, 0.00, 0.00);
CreateDynamicObject(19054, 1405.65, -1422.23, 13.57,   0.00, 0.00, 0.00);
CreateDynamicObject(19054, 1411.36, -1432.25, 13.57,   0.00, 0.00, 0.00);
CreateDynamicObject(19054, 1409.07, -1412.64, 13.57,   0.00, 0.00, 0.00);
CreateDynamicObject(19055, 1404.79, -1416.99, 13.66,   0.00, 0.00, 0.00);
CreateDynamicObject(19055, 1410.40, -1428.77, 13.66,   0.00, 0.00, 0.00);
CreateDynamicObject(19055, 1404.05, -1432.87, 13.66,   0.00, 0.00, 0.00);
CreateDynamicObject(19056, 1403.60, -1404.35, 13.61,   0.00, 0.00, 0.00);
CreateDynamicObject(19056, 1410.93, -1404.61, 13.61,   0.00, 0.00, 0.00);
CreateDynamicObject(19076, 1512.13, -1741.72, 12.55,   0.00, 0.00, 0.00);
CreateDynamicObject(19054, 1512.65, -1742.66, 12.87,   0.00, 0.00, 0.00);
CreateDynamicObject(19055, 1511.13, -1741.70, 12.85,   0.00, 0.00, 0.00);
CreateDynamicObject(19058, 1512.50, -1741.22, 12.95,   0.00, 0.00, 0.00);
CreateDynamicObject(19076, 1535.10, -2293.85, 12.54,   0.00, 0.00, 0.00);
CreateDynamicObject(19054, 1534.35, -2294.31, 12.54,   0.00, 0.00, 0.00);
CreateDynamicObject(19054, 1535.66, -2292.96, 12.54,   0.00, 0.00, 0.00);
CreateDynamicObject(19055, 1535.98, -2294.43, 12.55,   0.00, 0.00, 0.00);
CreateDynamicObject(19076, 1209.49, -927.61, 41.92,   0.00, 0.00, 0.00);
CreateDynamicObject(19058, 1208.88, -926.94, 42.02,   0.00, 0.00, 0.00);
CreateDynamicObject(19055, 1209.93, -928.26, 41.92,   0.00, 0.00, 17.59);
CreateDynamicObject(19076, 1439.04, -1042.20, 22.82,   0.00, 0.00, 0.00);
CreateDynamicObject(19054, 1440.01, -1042.69, 23.00,   0.00, 0.00, 0.00);
CreateDynamicObject(19056, 1438.18, -1041.63, 23.23,   0.00, 0.00, 0.00);
CreateDynamicObject(19076, 1737.54, -1292.59, 12.63,   0.00, 0.00, 0.00);
CreateDynamicObject(19058, 1738.20, -1291.94, 13.04,   0.00, 0.00, 0.00);
CreateDynamicObject(19056, 1737.19, -1293.23, 13.03,   0.00, 0.00, 346.22);

Stavim label pozdrav
Slika://

One And Only
Old Member
Since AVGUST 2013. :)
GAME OVER - SCRIPTING
SINCE 2009 - 2020


Dado nisi shvatio mozda niste ni ostali ja te erorre dobijam sto da ti dam kreiraj jelku ja bi da mi vi pomognete ja sam to vec uradio da ima label ali izlaze mi erori pa sam vam dao jelke da mi stavite label jer ja neznam pozdrav.BUMP!!

One And Only
Old Member
Since AVGUST 2013. :)
GAME OVER - SCRIPTING
SINCE 2009 - 2020

Jel koristis na modu ili na FS ?

i am king!