OnFilterScriptExit - RemoveAllCars
#6

Quote:
Originally Posted by $ЂЯĢ
First vehicle ID is 1, so start loop with 1
pawn Код:
public OnFilterScriptExit() {
  for(new i = 1; i < MAX_VEHICLES; i ++ ) {
     DestroyVehicle(i);
  }
}
Hey, by the that way.

you are makeing it for vehicle id 2 +++
but id 1 will stay

Thinking logical

Код:
if(GeTPlayerMoney(asdads) > 51)
explenation - i cant buy if i have $51


soo
Код:
for i = 1; 1 < ASDASASD)
the same - destroying car with id 2 and higher..

soooo...
id 1 will stay..

if im wrong then say it to me.
Reply


Messages In This Thread
OnFilterScriptExit - RemoveAllCars - by Omnitrix - 19.06.2010, 20:54
Re: OnFilterScriptExit - RemoveAllCars - by Carlton - 19.06.2010, 21:01
Re: OnFilterScriptExit - RemoveAllCars - by Omnitrix - 20.06.2010, 20:28
Re: OnFilterScriptExit - RemoveAllCars - by Sergei - 20.06.2010, 20:31
Re: OnFilterScriptExit - RemoveAllCars - by Omnitrix - 20.06.2010, 20:47
Re: OnFilterScriptExit - RemoveAllCars - by GaGlets(R) - 21.06.2010, 03:32

Forum Jump:


Users browsing this thread: 1 Guest(s)