Car shop system -
ancezas - 31.08.2011
Helo again. I'v seen in ******* this video [ame]http://www.youtube.com/watch?v=J9hhHg72N0w[/ame]
and i whant to do it in my server, i think to do that with CreateVehicle and DestroyVehicle funcions, is this work?
but i dont know how to do that CreateVehicle will only work for a single man i think about this CreateVehicle(palyerid,
is this work? and about DestroyVehicle can i destroy only that car whos in the garage? and i need that car wont respawn
Re: Car shop system -
[MWR]Blood - 31.08.2011
Yeah it would work with that I guess.
For the vehicle swapping, you will have to define the arrow keys, you can look from grandlarc gamemode.
Re: Car shop system -
ancezas - 31.08.2011
OK thx, if i get Failed with script i whrote in hear
Re: Car shop system -
ancezas - 31.08.2011
but how to destroy only that car?
Re: Car shop system -
ancezas - 31.08.2011
i'd make this CMD: if(!strcmp(cmdtext, "/carshop", true,1
![Cool](images/smilies/cool.gif)
)
{
Vehicle(400,-1954.6177,260.2105,35.5101,33.9648,0,0);
return 1;
}
if(!strcmp(cmdtext, "/pirmyn", true,17))
{
new vehic;
vehic = (400,-1954.6177,260.2105,35.5101,33.9648,0,0);
DestroyVehicle(vehic);
Vehicle(401,-1954.6177,260.2105,35.5101,33.9648,0,0);
return 1;
}
but when i do /pirmyn CMD it not destroy car
Re: Car shop system -
=WoR=Varth - 31.08.2011
Triple post, you happy?
Use edit button or there's no one going to help you.
Re: Car shop system -
ancezas - 31.08.2011
how to delete my post?