Deo skripte:
//Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
//
Navodno je do nekog state-a ali neznam kojeg pisite sta vam treba pa cu poslat -.- ////
Navodno je do nekog state-a ali neznam kojeg pisite sta vam treba pa cu poslat -.-
for( new i = 0; i < 22; i ++)
{
PlayerTextDrawShow( playerid, BrzinomerTD[ playerid ][ i ] );
}
PlayerTextDrawSetPreviewModel( playerid, BrzinomerTD[ playerid ][ 18 ], GetVehicleModel( GetPlayerVehicleID( playerid ) ) );
PlayerTextDrawShow( playerid, BrzinomerTD[ playerid ][ 18 ] );
}
if(oldstate == PLAYER_STATE_DRIVER)
{
for( new i = 0; i < 22; i ++)
{
PlayerTextDrawHide( playerid, BrzinomerTD[ playerid ][ i ] );
}
}
if (newstate == PLAYER_STATE_DRIVER) {
for( new i = 0; i < 22; i ++)
{
PlayerTextDrawShow( playerid, BrzinomerTD[ playerid ][ i ] );
}
PlayerTextDrawSetPreviewModel( playerid, BrzinomerTD[ playerid ][ 18 ], GetVehicleModel( GetPlayerVehicleID( playerid ) ) );
PlayerTextDrawShow( playerid, BrzinomerTD[ playerid ][ 18 ] );
}
}
if(oldstate == PLAYER_STATE_DRIVER)
{
for( new i = 0; i < 22; i ++)
{
PlayerTextDrawHide( playerid, BrzinomerTD[ playerid ][ i ] );
}
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
for( new i = 0; i < 22; i ++)
{
PlayerTextDrawHide( playerid, BrzinomerTD[ playerid ][ i ] );
}
return 1;
}
for( new i = 0; i < 22; i ++)
{
PlayerTextDrawShow( playerid, BrzinomerTD[ playerid ][ i ] );
}
PlayerTextDrawSetPreviewModel( playerid, BrzinomerTD[ playerid ][ 18 ], GetVehicleModel( GetPlayerVehicleID( playerid ) ) );
PlayerTextDrawShow( playerid, BrzinomerTD[ playerid ][ 18 ] );
}
if(oldstate == PLAYER_STATE_DRIVER)
{
for( new i = 0; i < 22; i ++)
{
PlayerTextDrawHide( playerid, BrzinomerTD[ playerid ][ i ] );
}
}
if (newstate == PLAYER_STATE_DRIVER) {
for( new i = 0; i < 22; i ++)
{
PlayerTextDrawShow( playerid, BrzinomerTD[ playerid ][ i ] );
}
PlayerTextDrawSetPreviewModel( playerid, BrzinomerTD[ playerid ][ 18 ], GetVehicleModel( GetPlayerVehicleID( playerid ) ) );
PlayerTextDrawShow( playerid, BrzinomerTD[ playerid ][ 18 ] );
}
}
if(oldstate == PLAYER_STATE_DRIVER)
{
for( new i = 0; i < 22; i ++)
{
PlayerTextDrawHide( playerid, BrzinomerTD[ playerid ][ i ] );
}
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
for( new i = 0; i < 22; i ++)
{
PlayerTextDrawHide( playerid, BrzinomerTD[ playerid ][ i ] );
}
return 1;
}
BrzinomerTD = CreatePlayerTextDraw(playerid, 451.249969, 368.629638, "");
PlayerTextDrawTextSize(playerid, BrzinomerTD, 90.000000, 90.000000);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, 202316031);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawFont(playerid, BrzinomerTD, 5);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 0);
PlayerTextDrawSetPreviewModel(playerid, BrzinomerTD, 19177);
PlayerTextDrawSetPreviewRot(playerid, BrzinomerTD, 0.000000, 180.000000, 0.000000, 1.000000);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0);
BrzinomerTD = CreatePlayerTextDraw(playerid, 451.249969, 368.629638, "");
PlayerTextDrawTextSize(playerid, BrzinomerTD, 90.000000, 90.000000);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, 51);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawFont(playerid, BrzinomerTD, 5);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 0);
PlayerTextDrawSetPreviewModel(playerid, BrzinomerTD, 19177);
PlayerTextDrawSetPreviewRot(playerid, BrzinomerTD, 0.000000, 180.000000, 0.000000, 1.000000);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0);
BrzinomerTD = CreatePlayerTextDraw(playerid, 407.100128, 325.995910, "");
PlayerTextDrawTextSize(playerid, BrzinomerTD, 90.000000, 90.000000);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, 202316031);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawFont(playerid, BrzinomerTD, 5);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 0);
PlayerTextDrawSetPreviewModel(playerid, BrzinomerTD, 19177);
PlayerTextDrawSetPreviewRot(playerid, BrzinomerTD, 0.000000, 180.000000, 0.000000, 1.000000);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0);
BrzinomerTD = CreatePlayerTextDraw(playerid, 407.100128, 325.995910, "");
PlayerTextDrawTextSize(playerid, BrzinomerTD, 90.000000, 90.000000);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, 51);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawFont(playerid, BrzinomerTD, 5);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 0);
PlayerTextDrawSetPreviewModel(playerid, BrzinomerTD, 19177);
PlayerTextDrawSetPreviewRot(playerid, BrzinomerTD, 0.000000, 180.000000, 0.000000, 1.000000);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0);
BrzinomerTD = CreatePlayerTextDraw(playerid, 413.283386, 325.877349, "");
PlayerTextDrawTextSize(playerid, BrzinomerTD, 90.000000, 90.000000);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, 202316031);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawFont(playerid, BrzinomerTD, 5);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 0);
PlayerTextDrawSetPreviewModel(playerid, BrzinomerTD, 19177);
PlayerTextDrawSetPreviewRot(playerid, BrzinomerTD, 0.000000, 0.000000, 0.000000, 1.000000);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0);
BrzinomerTD = CreatePlayerTextDraw(playerid, 413.283386, 325.877349, "");
PlayerTextDrawTextSize(playerid, BrzinomerTD, 90.000000, 90.000000);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, 51);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawFont(playerid, BrzinomerTD, 5);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 0);
PlayerTextDrawSetPreviewModel(playerid, BrzinomerTD, 19177);
PlayerTextDrawSetPreviewRot(playerid, BrzinomerTD, 0.000000, 0.000000, 0.000000, 1.000000);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0);
BrzinomerTD = CreatePlayerTextDraw(playerid, 452.083312, 370.703918, "LD_SPAC:white");
PlayerTextDrawTextSize(playerid, BrzinomerTD, 83.000000, 39.000000);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, 202316031);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0x00000000);
PlayerTextDrawFont(playerid, BrzinomerTD, 4);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 0);
BrzinomerTD = CreatePlayerTextDraw(playerid, 452.083312, 370.703918, "LD_SPAC:white");
PlayerTextDrawTextSize(playerid, BrzinomerTD, 83.000000, 39.000000);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, 51);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0x00000000);
PlayerTextDrawFont(playerid, BrzinomerTD, 4);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 0);
BrzinomerTD = CreatePlayerTextDraw(playerid, 496.616790, 404.807586, "LD_SPAC:white");
PlayerTextDrawTextSize(playerid, BrzinomerTD, 38.600067, 13.270051);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, 202316031);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0x00000000);
PlayerTextDrawFont(playerid, BrzinomerTD, 4);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 0);
BrzinomerTD = CreatePlayerTextDraw(playerid, 496.616790, 404.807586, "LD_SPAC:white");
PlayerTextDrawTextSize(playerid, BrzinomerTD, 38.600067, 13.270051);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, 51);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0x00000000);
PlayerTextDrawFont(playerid, BrzinomerTD, 4);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 0);
BrzinomerTD = CreatePlayerTextDraw(playerid, 461.950012, 364.403747, ".......");
PlayerTextDrawLetterSize(playerid, BrzinomerTD, 0.115832, 0.547406);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, 202316031);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0x00000000);
PlayerTextDrawFont(playerid, BrzinomerTD, 1);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 1);
BrzinomerTD = CreatePlayerTextDraw(playerid, 490.000000, 378.481597, "");
PlayerTextDrawTextSize(playerid, BrzinomerTD, 48.000000, 49.000000);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, -1);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawFont(playerid, BrzinomerTD, 5);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 0);
PlayerTextDrawSetPreviewModel(playerid, BrzinomerTD, 560);
PlayerTextDrawSetPreviewRot(playerid, BrzinomerTD, 0.000000, 0.000000, 0.000000, 1.000000);
PlayerTextDrawSetPreviewVehCol(playerid, BrzinomerTD, 1, 1);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0);
BrzinomerTD = CreatePlayerTextDraw(playerid, 514.333496, 376.833038, "200"); // prva vrijednost za brzinu (prozirna), i nju treba updateovati svaki put
PlayerTextDrawLetterSize(playerid, BrzinomerTD, 0.469583, 1.755553);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 2);
PlayerTextDrawColor(playerid, BrzinomerTD, -239);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0x00000000);
PlayerTextDrawFont(playerid, BrzinomerTD, 3);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 1);
BrzinomerTD = CreatePlayerTextDraw(playerid, 514.333496, 381.133300, "200"); // druga više vidljiva vrijednost, i nju treba updateovati svaki put
PlayerTextDrawLetterSize(playerid, BrzinomerTD, 0.218750, 0.822221);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 2);
PlayerTextDrawColor(playerid, BrzinomerTD, -1);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0x00000000);
PlayerTextDrawFont(playerid, BrzinomerTD, 3);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 1);
BrzinomerTD = CreatePlayerTextDraw(playerid, 449.949981, 351.403259, "");
PlayerTextDrawTextSize(playerid, BrzinomerTD, 60.000000, 65.000000);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, -313665025);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawFont(playerid, BrzinomerTD, 5);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 0);
PlayerTextDrawSetPreviewModel(playerid, BrzinomerTD, 19177);
PlayerTextDrawSetPreviewRot(playerid, BrzinomerTD, 0.000000, 180.000000, 0.000000, 1.000000);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0);
BrzinomerTD = CreatePlayerTextDraw(playerid, 454.033264, 351.314208, "");
PlayerTextDrawTextSize(playerid, BrzinomerTD, 60.000000, 65.000000);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, -313665025);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawFont(playerid, BrzinomerTD, 5);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 0);
PlayerTextDrawSetPreviewModel(playerid, BrzinomerTD, 19177);
PlayerTextDrawSetPreviewRot(playerid, BrzinomerTD, 0.000000, 0.000000, 0.000000, 1.000000);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0);
BrzinomerTD = CreatePlayerTextDraw(playerid, 452.216613, 379.000000, "LD_SPAC:white");
PlayerTextDrawTextSize(playerid, BrzinomerTD, 32.000000, 5.320006);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, -313665025);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0x00000000);
PlayerTextDrawFont(playerid, BrzinomerTD, 4);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 0);
BrzinomerTD = CreatePlayerTextDraw(playerid, 448.016479, 376.570404, "particle:lamp_shad_64");
PlayerTextDrawTextSize(playerid, BrzinomerTD, 38.000000, 7.000000);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, -313665025);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0x00000000);
PlayerTextDrawFont(playerid, BrzinomerTD, 4);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 0);
BrzinomerTD = CreatePlayerTextDraw(playerid, 533.333557, 371.262908, "INFERNUS"); // ime vozila
PlayerTextDrawLetterSize(playerid, BrzinomerTD, 0.094166, 0.412591);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 3);
PlayerTextDrawColor(playerid, BrzinomerTD, -1);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0x00000000);
PlayerTextDrawFont(playerid, BrzinomerTD, 2);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 1);
BrzinomerTD = CreatePlayerTextDraw(playerid, 467.783813, 379.559295, "40L"); // gorivo
PlayerTextDrawLetterSize(playerid, BrzinomerTD, 0.095833, 0.422962);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 2);
PlayerTextDrawColor(playerid, BrzinomerTD, -1);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0x00000000);
PlayerTextDrawFont(playerid, BrzinomerTD, 2);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 1);
BrzinomerTD = CreatePlayerTextDraw(playerid, 454.166625, 381.592651, "");
PlayerTextDrawTextSize(playerid, BrzinomerTD, 26.000000, 35.000000);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, -1);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawFont(playerid, BrzinomerTD, 5);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 0);
PlayerTextDrawSetPreviewModel(playerid, BrzinomerTD, 560);
PlayerTextDrawSetPreviewRot(playerid, BrzinomerTD, 0.000000, 0.000000, 90.000000, 1.000000);
PlayerTextDrawSetPreviewVehCol(playerid, BrzinomerTD, 1, 1);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0);
BrzinomerTD = CreatePlayerTextDraw(playerid, 463.899841, 381.592651, ""); // ako su mu upaljena svjetla prikaži ovaj objekat, u suprotnom ga sakrij
PlayerTextDrawTextSize(playerid, BrzinomerTD, 26.000000, 35.000000);
PlayerTextDrawAlignment(playerid, BrzinomerTD, 1);
PlayerTextDrawColor(playerid, BrzinomerTD, -1);
PlayerTextDrawSetShadow(playerid, BrzinomerTD, 0);
PlayerTextDrawFont(playerid, BrzinomerTD, 5);
PlayerTextDrawSetProportional(playerid, BrzinomerTD, 0);
PlayerTextDrawSetPreviewModel(playerid, BrzinomerTD, 18656);
PlayerTextDrawSetPreviewRot(playerid, BrzinomerTD, 0.000000, 0.000000, 90.000000, 1.000000);
PlayerTextDrawBackgroundColor(playerid, BrzinomerTD, 0);Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava