GetVehicleColor?
#1

Is there a function even remotely close to this? I need this, and I can't figure out a real work-around for it.

Thanks.
Reply
#2

dude just go to samp wiki and see the carcolours or download a awesome program that helps me alot called samp script king
Reply
#3

Quote:
Originally Posted by FireCat
Посмотреть сообщение
dude just go to samp wiki and see the carcolours or download a awesome program that helps me alot called samp script king
I'm not looking for the color id.. I'm trying to save it to a file.

pawn Код:
COMMAND:savev(playerid, params[])
{
    new comment[128];
    if(!sscanf(params, "s", comment))
    {
        if(File[playerid][Administrator] >= 1)
        {
            new veh = GetPlayerVehicleID(playerid);
            new string[128], Float:A;
            GetVehiclePos(veh, X, Y, Z);
            GetVehicleZAngle(veh, A);
            format(string, sizeof(string), "AddStaticVehicleEx(%d, %f, %f, %f, %f, 0, 0, 60000); //%s\n", GetVehicleModel(veh), X, Y, Z, A, comment);
            new File:hFile;
            hFile = fopen("SFRP/Tools/AddStaticVehicleEx.txt", io_append);
            fwrite(hFile, string);
            fclose(hFile);
        }
    }
    else return SendClientMessage(playerid, grey, "[USAGE] /SaveV [Comment]");
    return 1;
}
See?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)