[DUVIDA]Moeda secundaria!!
#2

Nгo!

Nгo tem como sу gastar uma moeda secundбria na transfender/paint'n'spray, mas, vocк pode optar por este modo, ele irб gastar moeda secundбria e dollar ao mesmo tempo.

pawn Код:
public OnVehicleMod(playerid,vehicleid,componentid)
{
    new string[256];
    format(string, sizeof(string), "Vocк acabou de adicionar o component id %d no veнculo id %d por $1000.",componentid,vehicleid);
    SendClientMessage(playerid, 0xA9C4E4FF, string);
    MoedaSecundaria(playerid,-1000);
    return 1;
}


public OnVehiclePaintjob(playerid,vehicleid,paintjobid)
{
    new string[256];
    format(string, sizeof(string), "Vocк acabou de adicionar a paintjob id %d no veнculo id %d por $500.",componentid,vehicleid);
    SendClientMessage(playerid, 0xA9C4E4FF, string);
    MoedaSecundaria(playerid,-500);
    return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
    new string[256];
    format(string, sizeof(string), "Vocк acabou de pintar o veнculo id %d para as cores %d %d por $100.",vehicleid,color1,color2);
    SendClientMessage(playerid, 0xA9C4E4FF, string);
    MoedaSecundaria(playerid,-100);
    return 1;
}
Neste exemplo todos os componentes sгo o mesmo preзo($1000).
Reply


Messages In This Thread
[DUVIDA]Moeda secundaria!! - by Vanderson - 17.09.2010, 11:52
Re: [DUVIDA]Moeda secundaria!! - by Shelby - 17.09.2010, 13:18
Re: [DUVIDA]Moeda secundaria!! - by Vanderson - 18.09.2010, 12:37
Re: [DUVIDA]Moeda secundaria!! - by Shelby - 18.09.2010, 13:32
Re: [DUVIDA]Moeda secundaria!! - by Falcon. - 18.09.2010, 14:32

Forum Jump:


Users browsing this thread: 1 Guest(s)