[POMOC] Bizevi

Započeo Narco_VK, Jun 19, 2011, 12:19:56 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: GTA RP
Detaljan opis problema:dodavo sam bizeve dodo sam 30...e sad njih par imaju iste interijere i onda udem u jedan a izadem u drugi e onda...dodo sam i virtualword da mora bit u bizevei ali onda se sve izsmjesalo evo to ovako izleda..
Dio skripte:
0|Drzava|Clothes Shop 1|Niko|1154.7308|-1457.9126|15.7969|207.737991|-109.019996|1005.13281|5|1000000|0|271056|0|15|499|500|50|1

ovo sto je crveno to je virtualword

public LoadBizz()
{
new arrCoords[20][64];
new strFromFile2[128];
new File: file = fopen("cfg/bizz.cfg", io_read);
if (file)
{
new idx;
while (idx < sizeof(BizzInfo))
{
fread(file, strFromFile2);
split(strFromFile2, arrCoords, '|');
BizzInfo[idx][bOwned] = strval(arrCoords[0]);
strmid(BizzInfo[idx][bOwner], arrCoords[1], 0, strlen(arrCoords[1]), 255);
strmid(BizzInfo[idx][bMessage], arrCoords[2], 0, strlen(arrCoords[2]), 255);
strmid(BizzInfo[idx][bExtortion], arrCoords[3], 0, strlen(arrCoords[3]), 255);
BizzInfo[idx][bEntranceX] = floatstr(arrCoords[4]);
BizzInfo[idx][bEntranceY] = floatstr(arrCoords[5]);
BizzInfo[idx][bEntranceZ] = floatstr(arrCoords[6]);
BizzInfo[idx][bExitX] = floatstr(arrCoords[7]);
BizzInfo[idx][bExitY] = floatstr(arrCoords[8]);
BizzInfo[idx][bExitZ] = floatstr(arrCoords[9]);
BizzInfo[idx][bLevelNeeded] = strval(arrCoords[10]);
BizzInfo[idx][bBuyPrice] = strval(arrCoords[11]);
BizzInfo[idx][bEntranceCost] = strval(arrCoords[12]);
BizzInfo[idx][bTill] = strval(arrCoords[13]);
BizzInfo[idx][bLocked] = strval(arrCoords[14]);
BizzInfo[idx][bInterior] = strval(arrCoords[15]);
BizzInfo[idx][bProducts] = strval(arrCoords[16]);
BizzInfo[idx][bMaxProducts] = strval(arrCoords[17]);
BizzInfo[idx][bPriceProd] = strval(arrCoords[18]);
BizzInfo[idx][bVirtualWorld] = strval(arrCoords[19]);
printf("BizzInfo:%d Owner:%s Message:%s Entfee:%d Till:%d Products:%d/%d Interior:%d.\n",
idx,
BizzInfo[idx][bOwner],
BizzInfo[idx][bMessage],
BizzInfo[idx][bEntranceCost],
BizzInfo[idx][bTill],
BizzInfo[idx][bProducts],
BizzInfo[idx][bMaxProducts],
BizzInfo[idx][bVirtualWorld],
BizzInfo[idx][bInterior]),

idx++;
}
fclose(file);
}
return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):
Vratio sam se ponovo ocekjute novi server...

dragan12

Mozes malo da pojasnis sta nece da radi. I sta ce ti ovo BizzInfo[idx][bVirtualWorld], ovde:
printf("BizzInfo:%d Owner:%s Message:%s Entfee:%d Till:%d Products:%d/%d Interior:%d.\n",
idx,
BizzInfo[idx][bOwner],
BizzInfo[idx][bMessage],
BizzInfo[idx][bEntranceCost],
BizzInfo[idx][bTill],
BizzInfo[idx][bProducts],
BizzInfo[idx][bMaxProducts],
BizzInfo[idx][bVirtualWorld],
BizzInfo[idx][bInterior]),

Tu ispisujes ali tebi onda dodje de ti pise produkti: Max/Virutal World
A jel si dodao ovo kada ulazi na komandu /enter pa tamo kod setplayerpos
SetPlayerVirtualWorld(playerid,BizzInfo[bVirtualWorld]);

Citat: [Balcanium]Gagi_Corleone poslato Jun 19, 2011, 12:54:54 POSLE PODNE
Mozes malo da pojasnis sta nece da radi. I sta ce ti ovo BizzInfo[idx][bVirtualWorld], ovde:
printf("BizzInfo:%d Owner:%s Message:%s Entfee:%d Till:%d Products:%d/%d Interior:%d.\n",
idx,
BizzInfo[idx][bOwner],
BizzInfo[idx][bMessage],
BizzInfo[idx][bEntranceCost],
BizzInfo[idx][bTill],
BizzInfo[idx][bProducts],
BizzInfo[idx][bMaxProducts],
BizzInfo[idx][bVirtualWorld],
BizzInfo[idx][bInterior]),

Tu ispisujes ali tebi onda dodje de ti pise produkti: Max/Virutal World
A jel si dodao ovo kada ulazi na komandu /enter pa tamo kod setplayerpos
SetPlayerVirtualWorld(playerid,BizzInfo[bVirtualWorld]);

stavio sam to u /enter..
Vratio sam se ponovo ocekjute novi server...