vsell help pls not ignore me ?
#1

Hello, when iam do /vsell cars is gone how i can do it not reset
i want when i do /vsell car stay to can players trade
Reply
#2

Look for a piece of code in your /vsell command where it has something like:

Код:
DestroyVehicle(vehicleid);
Delete it.
Reply
#3

delete all
Quote:

DestroyVehicle(vehicleid);

in pwn ?
Reply
#4

Be more specific, provide some none-working/bugged code etc... Not even god can help you without giving proper information.
Reply
#5

Show the /vsell Command let me see,but basically what u have to do is update the ownership of the vehicle,tell the script that player doesnt own the car anymore..
Reply
#6

Quote:
Originally Posted by vikoo
Посмотреть сообщение
delete all in pwn ?
Yes..if you don't want the vehicle to despawn, find what I said and delete it..that's what will be despawning the vehicle.

However, as you'll be transferring ownership of the vehicle too, you'll need to do some other code to make another player the owner.
Reply
#7

in my pawno only get this : //-------------------------Buy or Sell Vehicle Commands-------------------------
CMD:vbuy(playerid,params[]) {
buycar(playerid);
}
CMD:vsell(playerid,params[]) {
buycar(playerid);
}


I would have to put there in the cmd ??
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)