Eu aici vreau sa o fac ca systemul de jobvehicle este direct cu baza de date tin sa precizez este GM burned
case 14:
{
if(PlayerInfo[playerid][pWantedLevel] != 0) return SCM(playerid, -1, "Nu poti munci la acest job deoarece ai wanted!");
if(!PlayerToPoint(10.0, playerid, -2123.75684, -222.11610, 34.31469))
{
SendClientMessage(playerid, COLOR_GREY, "Nu esti la locul unde poti incepe munca. Ti-am pus un checkpoint, du-te la el!");
SetPlayerCheckpointEx(playerid, -2123.75684, -222.11610, 34.31469, 10.0);
CP[playerid] = 53;
return 1;
}
if(PlayerInfo[playerid][pCarLic] == 0) return SCM(playerid, COLOR_LGREEN, "Eroare: Ai nevoie de o licenta de condus pentru a putea munci la acest job!");
new rand = random(3);
if(rand == 1) SetPlayerCheckpointEx(playerid, 830.0479, -611.8955, 16.3432, 5.0);
else if(rand == 2) SetPlayerCheckpointEx(playerid, 820.7677, -612.4786, 16.3432, 5.0);
else if(rand == 3) SetPlayerCheckpointEx(playerid, 790.9538, -612.2801, 16.3432, 5.0);
else SetPlayerCheckpointEx(playerid, 830.0479, -611.8955, 16.3432, 5.0);
CP[playerid] = 172;
PlayerTextDrawSetString(playerid, InfosTD, string);
SetTimerEx("HideTextdraw", 8000, 0, "%d", playerid);
PlayerTextDrawShow(playerid, InfosTD);
CarAngle = 319.1513;
StartingWork[playerid] = 0;
CurseFacute[playerid] = 0;
MoneyEarned[playerid] = 0;
}