• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Change Vehicle Color After Respawn
#4
(2024-07-04, 11:35 AM)LuvaDePedreiro Wrote:
(2024-07-03, 05:00 PM)Virsenas Wrote: I'm pretty sure the word static in AddStaticVehicle means that after respawn it will remain the same as it was created and will not change.

Try the same procedure with a non-static vehicle and see if it works. If it does, then you will get your answer for your question. But I think by now you should have figured it out.

Thanks for the answer. I changed the "AddStaticVehicleEx" function to "CreateVehicle" function. But I still have the same result. Is there another function to create a vehicle? Or am I doing something wrong?

PHP Code:
public OnGameModeInit()
{
CreateVehicle(4801716.5469971432.69628910.3687880.27774710013300);
return 
1;


Is this an empty gamemode or is it a fully built one which has other functionality that might conflict with your code?
  Reply


Messages In This Thread
RE: Change Vehicle Color After Respawn - by Virsenas - 2024-07-04, 02:22 PM

Forum Jump: