Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:startquest(playerid, params[]) {
- if(!PlayerToPoint(5.0, playerid, 181.6313,-1868.3856,2.9981)) {
- if(CP[playerid] != 0) 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");
- SCM(playerid, -1, "{F03A3A}("QUEST_NAME"){FFFFFF} Ti-a fost setat un checkpoint catre locatia potrivita.");
- CP[playerid] = 53;
- SetPlayerCheckpointEx(playerid, 181.6313,-1868.3856,2.9981, 1.0);
- return 1;
- }
- if(PlayerInfo[playerid][pBoatLic] == 0) return SCM(playerid, COLOR_LGREEN, "Eroare: Ai nevoie de o licenta de navigare!");
- if(questVehicle[playerid] != 0) return SCM(playerid, COLOR_LGREEN, "Eroare: Ai inceput deja acest quest!");
- questVehicle[playerid] = CreateVehicleEx(446,199.6847, -1934.8583, -0.3829+5, 180.7395, -1, -1, 300);
- new engine,lights,alarm,doors,bonnet,boot,objective;
- vehEngine[questVehicle[playerid]] = 1;
- GetVehicleParamsEx(questVehicle[playerid],engine,lights,alarm,doors,bonnet,boot,objective);
- SetVehicleParamsEx(questVehicle[playerid],VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
- PutPlayerInVehicle(playerid, questVehicle[playerid], 0);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment