Jump to content

Question

Posted

public LocateCar(car,playerid)
{
    new Float:x,Float:y,Float:z,Float:xx,Float:yy,Float:zz,Float: distance,string[256];
    GetVehiclePos(car, x, y, z);
    GetPlayerPos(playerid, xx, yy, zz);
    SetPlayerCheckpoint(playerid, x, y, z, 4);
    gPlayerCheckpointStatus[playerid] = CHECKPOINT_LOCATE;
    distance = GetDistanceBetweenPoints(xx,yy,zz,x,y,z);
    format(string,sizeof(string),"Mergi la punctul rosu de pe minimap pentru a ajunge la masina ta. Distanta: %.0fm.",distance);
    SendClientMessage(playerid,COLOR_YELLOW,string);
    return 1;
}

Cand imi cumpar o masina imi apare acolo checkpoint si  acolo nu este masina , ce trebuie sa fac?

sa-mp-101.png.b2273c0dad929579c06ae881ceaaf7d2.png

2 answers to this question

Recommended Posts

  • 0
Posted
Acum 16 minute, Cordyandrey a spus:

Versiune veche bugge* oh

Pai incearca sa dai un debug la masina si vezi daca tot acolo o da, cam asa se rezolva candva pe Bugge*

Am rezolvat , mai am o singura problema

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.