Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!response) return 1;
- new rand = random(sizeof(cdPosVehicles));
- p_cdVehicle[playerid] = spawnVehicle(cdVehicles[random(sizeof(cdVehicles))], cdPosVehicles[rand][0], cdPosVehicles[rand][1], cdPosVehicles[rand][2], cdPosVehicles[rand][3], 0, 0);
- p_cdVehicleCP[playerid] = CreateDynamicCPCSTL(pCPVector[playerid], cdPosVehicles[rand][0], cdPosVehicles[rand][1], cdPosVehicles[rand][2], 5.0, 0, -1, playerid, 200.0);
- v_cdVehicle[p_cdVehicle[playerid]] = true;
- SetVehicleNumberPlate(p_cdVehicle[playerid], "{CC2929}MISJA");
- GetPlayerPos(playerid, p_cdLastPos[playerid][0], p_cdLastPos[playerid][1], p_cdLastPos[playerid][2]);
- SetPlayerCameraPos(playerid, cdPosVehicles[rand][0] + 25.0, cdPosVehicles[rand][1] + 25.0, cdPosVehicles[rand][2] + 10.0);
- SetPlayerCameraLookAt(playerid, cdPosVehicles[rand][0], cdPosVehicles[rand][1], cdPosVehicles[rand][2]);
- SetPlayerPos2(playerid, cdPosVehicles[rand][0], cdPosVehicles[rand][1], cdPosVehicles[rand][2] - 10.0);
- TogglePlayerControllableEx(playerid, false);
- SetTimerEx("p_cdCameraBehind", 5000, false, "d", playerid);
- p_cdTask[playerid] = true;
- SetPlayerMapIcon(playerid, playerid, cdPosVehicles[rand][0], cdPosVehicles[rand][1], cdPosVehicles[rand][2], 55, 0);
- SendClientMessageLang(playerid, "*{FF8800}(S){EAEAEA} Pojazd został oznaczony {FF8800}samochodem na mapie{EAEAEA} i jest koloru {FF8800}czarnego. Udaj się po niego.", "f");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement