Jump to content
  • 0

Problema lock(faruri)


Question

Posted

Nume: HekerTravel
Problemă întâlnită: eroare :(
Ce am încercat până acum: Sa rezolv problema
Codul sursa/Log/Altele: Am adaugat condite ca atunci cand incui masina sa ti se aprinda farurile timp de o secunda, dar la public unde am setat stingerea farurilor primesc eroarea asta:

[pawn](4299) : error 017: undefined symbol "playerid"[/pawn]

Acesta este scriptul unde primesc eroarea:

[pawn]public stingefarurilock()
{
    new carid = PlayerData[playerid][pPcarkey]; //linia 4299
    SetVehicleParamsEx(carid+PreVehicle,engine,0,alarm,doors,bonnet,boot,objective);
    return 1;
}[/pawn]

1 answer to this question

Recommended Posts

  • 0
Posted

public stingefarurilock(vehicleid)
{
  SetVehicleParamsEx(vehicleid,engine,0,alarm,doors,bonnet,boot,objective);
  return 1;

}

 

Si folosesti functia asa stingefarurilock(IDVEHICUL);

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.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.