- 0
/buycar ds
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Iulian2
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?
2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now