Brzinomer

Započeo Tommyy, Januar 11, 2018, 21:31:48 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Detaljan opis problema:Ubacio sam TD,sve lepo uradio i izbacuje error
Deo skripte: http://prntscr.com/hz5ypt
(22036) : warning 213: tag mismatch
(22036) : error 001: expected token: ",", but found "["
(22036) : error 029: invalid expression, assumed zero
(22036) : warning 215: expression has no effect
(22036) : error 001: expected token: ";", but found "]"
(22036) : fatal error 107: too many error messages on one line

Posalji tdove da vidim nes koliko ima tdova

Ma sta da gledas kad ne znas ni ti..


Posalji pawno code
Rockstar Community - Developer
Old Names - Jopa, Misty, CapponeX

forward necuupdate();
public necuupdate()
{
        foreach(Player, playerid)
        {
        if(UlogovanProvera[playerid] == 1)
		{
		if(IsPlayerInAnyVehicle(playerid))
		{
		if(!VoziloJeBicikla(GetVehicleModel(GetPlayerVehicleID(playerid))))
		{
		new sspeed[50], namevv[50];
		//GetVehicleHealth( GetPlayerVehicleID(playerid), HP ); //ovo je za ono na brzinomjeru HP
		format(sspeed, sizeof(sspeed), "%d", GetSpeed(playerid));
	PlayerTextDrawSetString(playerid, BRZINOMER_TD[5][playerid], sspeed);

		format(namevv, sizeof(namevv), "vozilo:_%s", ImenaVozila[GetVehicleModel(GetPlayerVehicleID(playerid)) - 400] );
		PlayerTextDrawSetString(playerid, BRZINOMER_TD[8][playerid], namevv);

		new Float: Pos[4];
		GetVehicleVelocity(GetPlayerVehicleID(playerid), Pos[0], Pos[1], Pos[2]);
		new keys, ud, lr;
		GetPlayerKeys(playerid, keys, ud, lr);
		if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
		{
		if(keys == KEY_JUMP) {
			PlayerTextDrawSetString(playerid, BRZINOMER_TD[9][playerid], "~r~R");
			PlayerTextDrawSetString(playerid, BRZINOMER_TD[10][playerid], "~w~N");
			PlayerTextDrawSetString(playerid, BRZINOMER_TD[11][playerid], "~w~D");
		}
		else if(keys == KEY_SPRINT) {

		    PlayerTextDrawSetString(playerid, BRZINOMER_TD[9][playerid], "~w~R");
			PlayerTextDrawSetString(playerid, BRZINOMER_TD[10][playerid], "~w~N");
			PlayerTextDrawSetString(playerid, BRZINOMER_TD[11][playerid], "~r~D");

		}
		if(Pos[0] == 0.0 && Pos[1] == 0.0 && Pos[2] == 0.0) {
		    PlayerTextDrawSetString(playerid, BRZINOMER_TD[9][playerid], "~w~R");
			PlayerTextDrawSetString(playerid, BRZINOMER_TD[10][playerid], "~r~N");
			PlayerTextDrawSetString(playerid, BRZINOMER_TD[11][playerid], "~w~D");
		}
		}
		}
		}
}
}
}