Problem with lock/unlock system in personal vehicles (RPG)
#6

So much wrong with your code...
Quote:

for(new v=0; v<MAX_PVEHS; v++)

use
Quote:

for(new v, vv = GetVehiclePoolSize(); v <= vv; v++)

and then check for valid vehicle

Indentation is not perfect/ good.
Use logic, think how the function should work and how the code can work.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)