modified car
#1

full all remove

I want to make removetuning command
[/SIZE]
Reply
#2

please help
Reply
#3

Simply use RemoveVehicleComponent. The Wiki is your friend, use it!
Reply
#4

Quote:
Originally Posted by Virtual1ty
Посмотреть сообщение
How do "/removetuning" command
Reply
#5

Quote:
Originally Posted by pors
Посмотреть сообщение
How do "/removetuning" command
Simply put it in a command, I assume at your level you're probably using the default strcmp (or ZCMD), search ":help" or "/help" in your script (via CTRL+F)
Reply
#6

Quote:
Originally Posted by nmader
Посмотреть сообщение
Simply put it in a command, I assume at your level you're probably using the default strcmp (or ZCMD), search ":help" or "/help" in your script (via CTRL+F)
could not find it
Reply
#7

pawn Код:
new
    vehicleid = GetPlayerVehicleID(playerid);

for (new slot; slot != 14; ++slot)
{
    RemoveVehicleComponent(vehicleid, GetVehicleComponentInSlot(vehicleid, slot));
}
Reply
#8

Mind you write in a less annoying font?

You need to set the paintjob too
https://sampwiki.blast.hk/wiki/ChangeVehiclePaintjob
"paintjobid: The ID of the Paintjob to apply. Use 3 to remove a paintjob."
Reply
#9

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
pawn Код:
new
    vehicleid = GetPlayerVehicleID(playerid);

for (new slot; slot != 14; ++slot)
{
    RemoveVehicleComponent(vehicleid, GetVehicleComponentInSlot(vehicleid, slot));
}
- thank you very much
- paint jobs does not remove
- How to remove paint jobs
Reply
#10

https://sampwiki.blast.hk/wiki/ChangeVehiclePaintjob

The value 3 will remove the vehicle's paintjob.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)