Jump to content
  • 0

LicensePlate


RaulSTAR

Question

Buna , as dori sa ma ajutati si pe mine am un srv de Stunt si as dori sa le pun la unele masini (DOAR la unele) daca as putea sa selectez prin ID un anumit tip de NUmar de inmatriculare

De ex la masina 351 sa ii pun Nr de inmatriculare : "Test"

Iar dupa restart la server sa ramana.

Am vazut ceva pe wiki samp dar nu am reusit.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

Guest PlayON

In: OnGameModeInit( ) dupa masinile create!

for ( new v = 0; v < MAX_VEHICLES; ++v )

{

    if ( v == 351 || v == 482)

    {

            //codul tau pentru masina 351, si 482

    }

}

Link to comment
Share on other sites

In: OnGameModeInit( ) dupa masinile create!

for ( new v = 0; v < MAX_VEHICLES; ++v )

{

    if ( v == 351 || v == 482)

    {

            //codul tau pentru masina 351, si 482

    }

}

deci intre { si }      if ( v == 351 || v == 482)

    {

      CODULMEU    //codul tau pentru masina 351, si 482

    }

asa?

Link to comment
Share on other sites

Guest farse

v in loc de vehicleid

for ( new v = 0; v < MAX_VEHICLES; ++v )

  {

  if ( v == 351 || v == 482)

  {

  SetVehicleNumberPlate(v, "NUMAR DE INMATRICULARE");  //codul tau pentru masina 351, si 482

  }

  }

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.