- 0
o problema cu un script
-
Similar Content
-
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
only4fun
PlayerInfo[playerid][pCarLic] = 1; new scoala = CreateVehicle(401,1385.9442,-1570.1893,13.5807,51.5063,-1,-1,15); //masina scoala PutPlayerInVehicle(playerid, scoala, 0); SetPlayerCheckpoint(playerid, 1329.6943,-1570.4362,13.1359, 5.0); new vehicleid = GetPlayerVehicleID(playerid); SetVehicleHealth(vehicleid, 1000.0); new Float:health; new hpcar = GetVehicleHealth(scoala, health); if (hpcar < 950.0) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "NU TREBUIE SA LOVESTI MASINA SCOLII DE SOFERI! "); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai picat examenul de conducere, incearca din nou! "); PlayerInfo[playerid][pCarLic] = 0; new currentveh; currentveh = GetPlayerVehicleID(playerid); DestroyVehicle(currentveh); }acesta e scriptul, se creeaza o masina si nu are efect "PutPlayerInVehicle(playerid, scoala, 0);" pentru ca trece direct la partea cu if hpcar
6 answers to this question
Recommended Posts