Jump to content
  • 0

Cum se muta DMV


Tentacion

Question

6 answers to this question

Recommended Posts

  • 0
Acum 2 ore, Tentacion a spus:

Stie careva unde gasesc Checkpoint-urile la DMV?

Specific de acum ca nu le gasesc in /exam.

Te-as putea ajuta eu, dar ce GameMode folosesti? Sa-mi dai mention.

Beauty is in the eye of the beholder

Link to comment
Share on other sites

  • 0
Acum 7 ore, Tentacion a spus:

Stie careva unde gasesc Checkpoint-urile la DMV?

Specific de acum ca nu le gasesc in /exam.

la command exam ai cel mai probabil SetPlayerCheckpointEx pentru a seta primul CP si dupa trebuie s modifici tu la OnPlayerEnterCheckpoint cu urmatoarele. Sau ai SetPlayerRaceCheckpointEx pentru a seta primul CP si dupa trebuie s modifici tu la OnPlayerEnterRaceCheckpoint cu urmatoarele.Cel mai bine lasa command /exam aici

Link to comment
Share on other sites

  • 0
Acum 2 ore, valivaly96 a spus:

la command exam ai cel mai probabil SetPlayerCheckpointEx pentru a seta primul CP si dupa trebuie s modifici tu la OnPlayerEnterCheckpoint cu urmatoarele. Sau ai SetPlayerRaceCheckpointEx pentru a seta primul CP si dupa trebuie s modifici tu la OnPlayerEnterRaceCheckpoint cu urmatoarele.Cel mai bine lasa command /exam aici

CMD:examen(playerid, params[]) {
    if(!PlayerToPoint(5.0, playerid, 926.5608,-1672.7406,13.5391)) return SendClientMessage(playerid, -1, "Nu esti la DMV!");
    if(PlayerInfo[playerid][pCarLic] > 0) return SendClientMessage(playerid, -1, "Ai deja licenta de condus!");
    if(PlayerInfo[playerid][pCarLicS] > 0) return SCM(playerid, COLOR_LGREEN, "Eroare: Permisul ti-a fost confiscat recent, nu-l poti lua inca!");
    if(InExamen[playerid] == 1) return SendClientMessage(playerid, -1, "Esti deja in examen!");
    if(CP[playerid] != 0 || targetfind[playerid] != -1) return ShowPlayerDialog(playerid, DIALOG_CHECKPOINT, DIALOG_STYLE_MSGBOX, "Checkpoint", "Ai deja un checkpoint activ.\nDoresti sa-l anulezi? Daca da, apasa pe 'Ok'.", "Ok", "Exit");
    if(GetPlayerCash(playerid) < 1000) return SCM(playerid, COLOR_GREY, "Ai nevoie de $1,000 pentru a da examenul!");
    
    InExamen[playerid] = 1;
    
    new objectdmv = CreateObject(19309,0,0,0,0,0,0,0);
    SetPVarInt(playerid, "DMVObject", objectdmv);
    SetObjectMaterialText(objectdmv, "DMV", 0, 50, "Arial", 27, 1, COLOR_WHITE, 0xFF000000, 1);
    ExamCar[playerid] = CreateVehicleEx(602,947.1833,-1691.3136,13.3484,89.6729,3,3,100);
    Gas[ExamCar[playerid]] = 100;
    AttachObjectToVehicle(objectdmv, ExamCar[playerid], 0.0, -0.5, 0.72, 0.0, 0.0, 0.0);
    SetVehicleNumberPlate(ExamCar[playerid], "{FF0000}DMV");
    GivePlayerCash(playerid, -1000);
    PutPlayerInVehicleEx(playerid, ExamCar[playerid], 0);
    CP[playerid] = 100;
    SetPlayerCheckpointEx(playerid, 917.5574,-1692.2179,13.1630, 5.0);
    new engine,lights,alarm,bonnet,boot,objective;
    SetVehicleParamsEx(ExamCar[playerid],engine,lights,alarm,1,bonnet,boot,objective);        
    return 1;
}

 

 

 

Acum 7 ore, RusKo a spus:

Te-as putea ajuta eu, dar ce GameMode folosesti? Sa-mi dai mention.

Edit Burned.

Link to comment
Share on other sites

  • 0
Acum 30 minute, Tentacion a spus:

CMD:examen(playerid, params[]) {
    if(!PlayerToPoint(5.0, playerid, 926.5608,-1672.7406,13.5391)) return SendClientMessage(playerid, -1, "Nu esti la DMV!");
    if(PlayerInfo[playerid][pCarLic] > 0) return SendClientMessage(playerid, -1, "Ai deja licenta de condus!");
    if(PlayerInfo[playerid][pCarLicS] > 0) return SCM(playerid, COLOR_LGREEN, "Eroare: Permisul ti-a fost confiscat recent, nu-l poti lua inca!");
    if(InExamen[playerid] == 1) return SendClientMessage(playerid, -1, "Esti deja in examen!");
    if(CP[playerid] != 0 || targetfind[playerid] != -1) return ShowPlayerDialog(playerid, DIALOG_CHECKPOINT, DIALOG_STYLE_MSGBOX, "Checkpoint", "Ai deja un checkpoint activ.\nDoresti sa-l anulezi? Daca da, apasa pe 'Ok'.", "Ok", "Exit");
    if(GetPlayerCash(playerid) < 1000) return SCM(playerid, COLOR_GREY, "Ai nevoie de $1,000 pentru a da examenul!");
    
    InExamen[playerid] = 1;
    
    new objectdmv = CreateObject(19309,0,0,0,0,0,0,0);
    SetPVarInt(playerid, "DMVObject", objectdmv);
    SetObjectMaterialText(objectdmv, "DMV", 0, 50, "Arial", 27, 1, COLOR_WHITE, 0xFF000000, 1);
    ExamCar[playerid] = CreateVehicleEx(602,947.1833,-1691.3136,13.3484,89.6729,3,3,100);
    Gas[ExamCar[playerid]] = 100;
    AttachObjectToVehicle(objectdmv, ExamCar[playerid], 0.0, -0.5, 0.72, 0.0, 0.0, 0.0);
    SetVehicleNumberPlate(ExamCar[playerid], "{FF0000}DMV");
    GivePlayerCash(playerid, -1000);
    PutPlayerInVehicleEx(playerid, ExamCar[playerid], 0);
    CP[playerid] = 100;
    SetPlayerCheckpointEx(playerid, 917.5574,-1692.2179,13.1630, 5.0);
    new engine,lights,alarm,bonnet,boot,objective;
    SetVehicleParamsEx(ExamCar[playerid],engine,lights,alarm,1,bonnet,boot,objective);        
    return 1;
}

 

 

 

Edit Burned.

Primul cp il skimbi d8n comanda asta de la linia SetPlayerCheckpointEx(playerid, 917.5574,-1692.2179,13.1630, 5.0);Dupa la OnPlayerEnterCheckpoint este un switch. La case 100: ai urmatorul CP si tot asa

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.