Ovako, krenuo sam da radim rent system i kad sam ga zavrsio compile sam skriptu i dobio sam 4 errora i ne kontam sta ne valja :D
Errori:
[pawn]C:\Users\Desktop\Gamemode\gamemodes\mg-rp.pwn(890) : error 012: invalid function call, not a valid address
C:\Users\Desktop\Gamemode\gamemodes\mg-rp.pwn(890) : warning 215: expression has no effect
C:\Users\Desktop\Gamemode\gamemodes\mg-rp.pwn(890) : error 001: expected token: ";", but found ")"
C:\Users\Desktop\Gamemode\gamemodes\mg-rp.pwn(890) : error 029: invalid expression, assumed zero
C:\Users\Desktop\Gamemode\gamemodes\mg-rp.pwn(890) : fatal error 107: too many error messages on one line
Compilation aborted.
Pawn compiler 3.10.4 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.[/pawn]
Linije, ovo je ubaceno pod OnPlayerDisconnect
[pawn] new rentid;
rentid = renta(playerid); //ovo je linija 890
rented[rentid] = 0;
SetVehicleToRespawn(rentid);[/pawn]
ako bude jos nesto trebalo da posaljem recite, hvala unapred :)