Jump to content
  • 0

Cum adaug masini/nrg! personal



3 answers to this question

Recommended Posts

Uite aici e un tutorial nu e facut de mn il folosesc si eu

new car;

public OnGameModeInit()


car = AddStaticVehicle(ID,x,y,z,233.9429,1,62); // Vehicul

public OnPlayerStateChange(playerid, newstate, oldstate)


  new PlayerName[24];

  GetPlayerName(playerid, PlayerName, sizeof(PlayerName));

  if(newstate == PLAYER_STATE_DRIVER)


      new Vehicle = GetPlayerVehicleID(playerid);

      if(Vehicle == admincar)


        if(strcmp(PlayerName,"Numele playerului",true))



            SendClientMessage(playerid, 0x33AA33AA, "Imi pare rau , Aceasta masina este a lui Seven");




  return 1;


Link to comment
Share on other sites

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.