- 0
am o problema cu acest 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
variabila PlayerInfo[playerid][pCarLic] (licenta de condus) o am 0 din start, iar problema e ca nu ma lasa sa conduc nici biciclete, asa ca am facut asta...dar nu stiu ce are:)
am pus la inceput:
new biciclete;
apoi la OnPlayerEnterVehicle am pus
new newcar = GetPlayerVehicleID(playerid); if(newcar == 181 || newcar == 182 || newcar == 183 || newcar == 184 || newcar == 204 || newcar == 205 || newcar == 206 || newcar == 207 || newcar == 208 || newcar == 209 || newcar == 210 || newcar == 211 || newcar == 212 || newcar == 213 || newcar == 214 || newcar == 215 || newcar == 216 || newcar == 217) { PlayerInfo[playerid][pCarLic] = 1; biciclete = 1; }apoi la OnPlayerStateChange am pusif( oldstate == PLAYER_STATE_DRIVER && newstate == PLAYER_STATE_ONFOOT && biciclete == 1) // BICICLETE ! { PlayerInfo[playerid][pCarLic] = 0; biciclete = 0; }si nu merge:|
1 answer to this question
Recommended Posts