Jump to content
  • 0

Cum pot muta DS-ul si locul masinilor cumparate, sa le dea in noul loc


Question

7 answers to this question

Recommended Posts

  • 0
Posted (edited)

Pai depinde

Mergi la comanda [/buyveh] sau [/buyvehcile] , infine ai inteles tu ideea ! Si acolo ai ceva de genu :

CMD:buyvehicle(playerid, params[]) 

{

if(!IsPlayerInRangeOfPoint(playerid,.., si aici ai coordonatele)

etc etc...

}

Acum copiezi coordonatele de la IsPlayerInRangeOfPoint si le cauti in gamemode si le inlocuiesti cu coordonatele noi de la noul dmv !

Edited by RaulDume
  • 0
Posted

Te duci la comanda pe care gamemodul o are la cumpararea vehiculului de exemplu [/buycar] te duci la comanda folosind combinatia de taste 

CTRL + F si cauti CMD:buycar

Acolo o sa ai comanda care arata cam asa

CMD:buycar(playerid, params[])

{

if(!IsPlayerInRangeOfPoint(playerid,x,y,z)

................

}

Te duci in locatia dorita folosesti comanda /save apoi te duci in Documents>GTA San Andreas UserFiles > SAMP > savedpositions.txt(acel fisier este gasit decat daca folosestii comanda /save) apoi intri in acel fisier si copiezi toate cele trei cifre care sunt situate intre urmatoarele virgule nu copiezi primul numar ci urmatoarele de dupa virgula apoi pui acele coordonate in comanda si gata.

  • 0
Posted

Daca ai gm BigZone InsertCar ai acolo coordonatele

PlayerInfo[playerid][pCarLocX][idcar] = x
PlayerInfo[playerid][pCarLocY][idcar] = y
PlayerInfo[playerid][pCarLocZ][idcar] = z
s.a.m.d si modifici si la gRandomDS 

Ko62bp8.png

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
×
×
  • 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.