vsell help pls not ignore me ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: vsell help pls not ignore me ? (
/showthread.php?tid=611837)
vsell help pls not ignore me ? -
vikoo - 11.07.2016
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
Re: vsell help pls not ignore me ? -
Jonesy96 - 11.07.2016
Look for a piece of code in your /vsell command where it has something like:
Код:
DestroyVehicle(vehicleid);
Delete it.
Re: vsell help pls not ignore me ? -
vikoo - 11.07.2016
delete all
Quote:
DestroyVehicle(vehicleid);
|
in pwn ?
Re: vsell help pls not ignore me ? -
Sjn - 11.07.2016
Be more specific, provide some none-working/bugged code etc... Not even god can help you without giving proper information.
Re: vsell help pls not ignore me ? - WhiteGhost - 11.07.2016
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..
Re: vsell help pls not ignore me ? -
Jonesy96 - 11.07.2016
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.
Re: vsell help pls not ignore me ? -
elpana27 - 22.07.2016
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 ??