Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new StartQuest[MAX_PLAYERS];
- new SpecialQuest; //Actor
- CMD:startquest(playerid, params[])
- {
- if(StartQuest[playerid]) return SCM(playerid, COLOR_SPECIALMISSION, "Special Quest: Text.");
- StartQuest[playerid] = 1;
- if(!IsPlayerInRangeOfPoint(playerid, 3.5, 1123.0138, -1127.3977, 23.8047)) return SCM(playerid, COLOR_INFO, "Eroare: Nu esti la locatia potrivita.");
- if(pInfo[playerid][pCarLic] > 1) return SCM(playerid, COLOR_INFO, "Eroare: Nu ai licenta de condus!");
- SetPlayerRaceCheckpoint(playerid, 0, 2091.1172 ,-1278.4653, 26.1797, 2091.1172, -1278.4653, 26.1797, 3.5), CP[playerid] = 348;
- SCM(playerid, COLOR_SPECIALMISSION, "Special Quest: Text.");
- return 1;
- }
- case 348: {
- SetPlayerRaceCheckpoint(playerid, 0, 2368.3386, -1674.7203, 2368.3386, -1674.7203, 14.1682, 3.5), CP[playerid] = 349;
- SCM(playerid, COLOR_SPECIALMISSION, "Bombe plantate: 1/3!");
- }
- case 349: {
- SetPlayerRaceCheckpoint(playerid, 0, 1684.7343, -2099.3076, 13.8343, 1684.7343, -2099.3076, 13.8343, 3.5), CP[playerid] = 350;
- SCM(playerid, COLOR_SPECIALMISSION, "Mergi la ultima casa pentru a termina cerintele!");
- SCM(playerid, COLOR_SPECIALMISSION, "Bombe plantate: 2/3!");
- }
- case 350: { //cand intra in cp sa dea astea
- StartQuest[playerid] = 0;
- SpawnPlayer(playerid), GiveMoney(playerid, 27750), pInfo[playerid][pDiamonds] += 7;
- new sString[100];
- format(sString, sizeof sString, "(( Special Quest: %s a terminat Text! ))", GetName(playerid));
- SCMTA(COLOR_SPECIALMISSION, sString);
- SCM(playerid, COLOR_SPECIALMISSION, "(( Special Quest: Text. ))");
- DisablePlayerRaceCheckpoint(playerid), CP[playerid] = 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement