need help with carshop
#1

hi, i creating carshop and created somethin stuck with this:
how to make it: with same CMD change cars now its many CMD like this:
Code:
if(!strcmp(cmdtext, "/pirmyn", true,17))
{
        DestroyVehicle(vehic[0]);
        vehic[1] = CreateVehicle(401,-1954.6177,260.2105,35.5101,33.9648,0,0,-1);
        return 1;
}
if(!strcmp(cmdtext, "/pirmyn2", true,17))
{
        DestroyVehicle(vehic[1]);
        vehic[2] = CreateVehicle(402,-1954.6177,260.2105,35.5101,33.9648,0,0,-1);
        return 1;
}
how to do that /pirmyn change first in vehic[1] then if you write /pirmyn again it change car in : vehic[2]

Can anyone help me
Reply


Messages In This Thread
need help with carshop - by ancezas - 31.08.2011, 13:41
Re: need help with carshop - by TouR - 31.08.2011, 13:44
Re: need help with carshop - by ancezas - 31.08.2011, 14:55
Re: need help with carshop - by Pinguinn - 31.08.2011, 15:29
Re: need help with carshop - by ancezas - 31.08.2011, 15:32
Re: need help with carshop - by Pinguinn - 31.08.2011, 15:35

Forum Jump:


Users browsing this thread: 1 Guest(s)