[Pomoc] kaciga..

Započeo Otisao s Foruma!, Mart 02, 2012, 16:20:21 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

pokusaj ovako staviti ovaj deo:

if(newstate == PLAYER_STATE_DRIVER)
{
    ProveriVozilo(playerid);
	if(model != 461&&model != 462&&model != 463&&model != 468&&model != 471&&model != 521&&model != 522&&model != 523&&model != 487&&model != 488&& model !=493&& model !=446&& model !=452&& model !=453&& model !=454&& model !=473&& model !=484)
	{
		SendClientMessage(playerid, COLOR_LIGHT_BLUE, "Zapamtite: Koristite pojas ili cete platiti kaznu! (/pojas)");
		return 1;
	}
}


ako nece videcu sta cemo dalje hehe :D

Izbaci ovaj erOr  :'(

C:\Documents and Settings\kk\Desktop\roleP\gamemodes\sarajevo.pwn(7269) : error 017: undefined symbol "model"
C:\Documents and Settings\kk\Desktop\roleP\gamemodes\sarajevo.pwn(58817) : warning 204: symbol is assigned a value that is never used: "model"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

to je ova linija

if(model != 461&&model != 462&&model != 463&&model != 468&&model != 471&&model != 521&&model != 522&&model != 523&&model != 487&&model != 488&& model !=493&& model !=446&& model !=452&& model !=453&& model !=454&& model !=473&& model !=484)
Poslednja Izmena: Mart 02, 2012, 23:32:18 POSLE PODNE od ¢fg™'87
[[/center]
DgL <3
Otisao s Foruma zz


Obrisi stock ProveriVozilo i umesto

ProveriVozilo(playerid);


stavi

new vozilo = GetPlayerVehicleID(id);
new model = GetVehicleModel(vozilo);


u oba slucaja...

ovaj jos erOr  :'( :'(

C:\Documents and Settings\kk\Desktop\roleP\gamemodes\sarajevo.pwn(7268) : error 017: undefined symbol "id"


ova linija

new vozilo = GetPlayerVehicleID(id);
[[/center]
DgL <3
Otisao s Foruma zz


id


promeni sa

playerid


zaboravio sam -.- (opet u oba slucaja)

Radi ali bug kada sjednem na rent motor uopste vise ne pise ono za rentanje sto izbaci text onaj.   :'( :'(
[[/center]
DgL <3
Otisao s Foruma zz


Citat: ¢fgâ,,¢'87 poslato Mart 03, 2012, 00:20:27 PRE PODNE
Radi ali bug kada sjednem na rent motor uopste vise ne pise ono za rentanje sto izbaci text onaj.   :'( :'(

Onda dodaj na kraj onplayerstatechange-a da se sve pre toga pojavi i tek onda to da izadje ;)

Nece brate isto jbg nema veze radi kaciga uglavnom.  ;)

Moze lock!
[[/center]
DgL <3
Otisao s Foruma zz