error4 (CarName)
#8

Код:
gamemodes\rensildude.pwn(57) : error 001: expected token: ",", but found "]"
gamemodes\rensildude.pwn(69) : warning 217: loose indentation
First error means pawno wants to see a "," but didn't see one. Second error means you didn't use the tabbing properly.

Код:
format(String, sizeof(String), "~p~Car ID:~r~%d ~p~Car name:~r~%s", vehicleid, CarName[GetVehicleModel(GetPlayerVehicleID(i)-400]);
The error has to be in here, search a bit. I can say you this: You forgot to end the format function with a ).

By the way, why aren't you changing the character format of String?

Reply


Messages In This Thread
error4 (CarName) - by RenisiL - 02.05.2009, 19:07
Re: error4 (CarName) - by Weirdosport - 02.05.2009, 21:09
Re: error4 (CarName) - by RenisiL - 03.05.2009, 09:35
Re: error4 (CarName) - by GTA_Rules - 03.05.2009, 09:40
Re: error4 (CarName) - by HB - 03.05.2009, 10:00
Re: error4 (CarName) - by GTA_Rules - 03.05.2009, 10:03
Re: error4 (CarName) - by RenisiL - 03.05.2009, 10:10
Re: error4 (CarName) - by HB - 03.05.2009, 10:14

Forum Jump:


Users browsing this thread: 1 Guest(s)