Jump to content
  • 0

Problema DMV


Claudiu2015

Question

Problema intalnita (descriere):Cum se creeaza masini pentru DMV + checkpoint-urile.Merge comanda EXAM dar nu am Masinile puse
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):CMD:exam( playerid, params[] )

{
if( IsPlayerConnected( playerid ) ) {
   if( gPlayerLogged[ playerid ] == 0 ) return SCM( playerid, -1, ""ALB"Trebuie sa fi conectat pentru a utiliza aceasta comanda." );
if( PlayerToPoint( 3, playerid, 1611.4918,-1893.9436,13.5469 ) ) {
   if( PlayerInfo[ playerid ][ pDriverLicense ] == 1 ) return SCM( playerid, -1, ""ALB"Deja ai o licenta de condus, nu iti poti cumpara alta." );
   if( PlayerInfo[ playerid ][ pCash ] < 3000 ) return SCM( playerid, -1, ""ALB"Ai nevoie de 3.000$ pentru a lua permisul de conducere." );
   if( DriversSchool[ playerid ] == true ) return SCM( playerid, -1, ""ALB"Deja te-ai inscris la scoala de soferi." );
DriversSchool[ playerid ] = true;
SCM( playerid, -1, ""ALBASTRU"Ai la dispozitie 15 de secunde pentru a te urca in masina de examen." );
SetTimerEx( "ExamenLicenta", 15000, false, "i", playerid );
}
else return SCM( playerid, -1, ""ALB"Nu poti da examenul pentru o licenta din aceasta locatie." );
}
return 1;
}

Imagini / Video (optional):
Ati incercat sa rezolvati singur?:

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Adaugi masinile in gamemode cu AddStaticVehicle iar pentru checkpoint-uri le faci prin intermediul public OnPlayerEnterCheckpoint.

Aceasta nu este o problema de scripting, noi te ajutam cu script-uri pe care le incepi si intampini probleme in terminarea acestora.

Topic Closed.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.