Can you help me fix this CMD? Errors!
#1

Hello there, i need some help
Код:
error 001: expected token: ";", but found "}"
error 001: expected token: ",", but found ";"
 error 001: expected token: ";", but found "return"
Here is the CMD
Код:
CMD:mycars(playerid)
{
	SendClientMessage(playerid, COLOR_WHITE, "|___Your vehicles:___|");
	new string[60];
	for(new v = 0; v < MAX_PLAYERVEHICLES; v++)
	{
		 if(PlayerVehicleInfo[playerid][v][pvModelId])
			format(string, sizeof(string), "%d: {ADD8E6}%s{FFFFFF}  | Lock: {ADD8E6}%s {FFFFFF}(%s{FFFFFF})");
			SendClientMessage(playerid, COLOR_LIGHTBLUE, string)
	}
	format(string, sizeof(string),"Number of cars: %d | Vehicle Limit: %d",GetPVarInt(playerid, "MaxCars");
	SendClientMessage(playerid, COLOR_WHITE, string)
	return 1;
}
Reply


Messages In This Thread
Can you help me fix this CMD? Errors! - by pln102 - 10.11.2012, 00:31
Re: Can you help me fix this CMD? Errors! - by SuperViper - 10.11.2012, 01:37
Re: Can you help me fix this CMD? Errors! - by pln102 - 10.11.2012, 01:48
Re: Can you help me fix this CMD? Errors! - by JaKe Elite - 10.11.2012, 01:54

Forum Jump:


Users browsing this thread: 1 Guest(s)