Car shop system
#1

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
Reply
#2

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.
Reply
#3

OK thx, if i get Failed with script i whrote in hear
Reply
#4

but how to destroy only that car?
Reply
#5

i'd make this CMD: if(!strcmp(cmdtext, "/carshop", true,1)
{
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
Reply
#6

Triple post, you happy?
Use edit button or there's no one going to help you.
Reply
#7

how to delete my post?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)