[POMOC]Warning

Započeo Nedim_Gun, April 05, 2012, 16:05:30 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Nedim_Gun

Skripta koju koristim:BM RP
Detaljan opis problema:Warning od koji nmg da startam server
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno): //

C:\Documents and Settings\MINE\Desktop\BM RolePlay 0.3d-R2\gamemodes\Bluerp.pwn(6904) : warning 202: number of arguments does not match definition
C:\Documents and Settings\MINE\Desktop\BM RolePlay 0.3d-R2\gamemodes\Bluerp.pwn(15348) : warning 213: tag mismatch
C:\Documents and Settings\MINE\Desktop\BM RolePlay 0.3d-R2\gamemodes\Bluerp.pwn(15349) : warning 202: number of arguments does not match definition
C:\Documents and Settings\MINE\Desktop\BM RolePlay 0.3d-R2\gamemodes\Bluerp.pwn(15364) : warning 213: tag mismatch
C:\Documents and Settings\MINE\Desktop\BM RolePlay 0.3d-R2\gamemodes\Bluerp.pwn(15365) : warning 202: number of arguments does not match definition
C:\Documents and Settings\MINE\Desktop\BM RolePlay 0.3d-R2\gamemodes\Bluerp.pwn(55857) : warning 203: symbol is never used: "CivFemalePeds"
C:\Documents and Settings\MINE\Desktop\BM RolePlay 0.3d-R2\gamemodes\Bluerp.pwn(55857) : warning 203: symbol is never used: "CivMalePeds"

vlado_plavsic


C:\Documents and Settings\MINE\Desktop\BM RolePlay 0.3d-R2\gamemodes\Bluerp.pwn(55857) : warning 203: symbol is never used: "CivFemalePeds"
C:\Documents and Settings\MINE\Desktop\BM RolePlay 0.3d-R2\gamemodes\Bluerp.pwn(55857) : warning 203: symbol is never used: "CivMalePeds"


Izbrisi te dve linije.Za ostale daj linije.

Nedim_Gun

Bluerp.pwn(5727) : error 017: undefined symbol "CivMalePeds"


error 029: invalid expression, assumed zero


error 017: undefined symbol "CivFemalePeds"


error 029: invalid expression, assumed zero


4 errora kako sam to obrisao

Nedim_Gun

if(PlayerInfo[giveplayerid][pSex] == 1) { randomskin = random(sizeof(CivMalePeds)); }
	else if(PlayerInfo[giveplayerid][pSex] == 1) { randomskin = random(sizeof(CivFemalePeds)); }


Sry za DP

Snich

Dodaj ovo pri vrhu skripte:

new CivMalePeds[52][1] = {
// Male civilians down here (by Ellis)
{2},
{47},
{48},
{50},
{58},
{60},
{68},
{72},
{73},
{80},
{81},
{82},
{83},
{95},
{100},
{101},
{102},
{103},
{104},
{108},
{109},
{110},
{121},
{122},
{123},
{135},
{142},
{143},
{144},
{146},
{153},
{154},
{155},
{156},
{158},
{159},
{160},
{161},
{170},
{179},
{180},
{189},
{202},
{203},
{204},
{258},
{259},
{260},
{293},
{295},
{296},
{297}
};

new CivFemalePeds[33][1] = {
// Female civilians down here (by Ellis)
{55},
{56},
{63},
{69},
{76},
{85},
{91},
{93},
{131},
{141},
{148},
{150},
{151},
{152},
{157},
{169},
{172},
{190},
{192},
{193},
{194},
{195},
{198},
{201},
{214},
{216},
{219},
{225},
{233},
{237},
{251},
{263},
{298}
};

Nedim_Gun

Citat: [FG] Snich poslato April 05, 2012, 16:47:38 POSLE PODNE
Dodaj ovo pri vrhu skripte:

new CivMalePeds[52][1] = {
// Male civilians down here (by Ellis)
{2},
{47},
{48},
{50},
{58},
{60},
{68},
{72},
{73},
{80},
{81},
{82},
{83},
{95},
{100},
{101},
{102},
{103},
{104},
{108},
{109},
{110},
{121},
{122},
{123},
{135},
{142},
{143},
{144},
{146},
{153},
{154},
{155},
{156},
{158},
{159},
{160},
{161},
{170},
{179},
{180},
{189},
{202},
{203},
{204},
{258},
{259},
{260},
{293},
{295},
{296},
{297}
};

new CivFemalePeds[33][1] = {
// Female civilians down here (by Ellis)
{55},
{56},
{63},
{69},
{76},
{85},
{91},
{93},
{131},
{141},
{148},
{150},
{151},
{152},
{157},
{169},
{172},
{190},
{192},
{193},
{194},
{195},
{198},
{201},
{214},
{216},
{219},
{225},
{233},
{237},
{251},
{263},
{298}
};


Opet isto se desava :D