[HELP] Urgentasso!
#9

pawn Код:
CMD:motoron(playerid, params[])
{
    new carro = GetPlayerVehicleID(playerid);
    if(!IsPlayerInAnyVehicle(playerid))
        return SendClientMessage(playerid, COR_CINZA1, " Vocк nгo estб em um carro ");
    if(Gas[carro] < 1.1)
        return SendClientMessage(playerid,255,"O carro tб sem gasolina fdp!!!!!!!!!!!!!!!!!!");
    if(motor[playerid] == 0)
    {
        new mot, lu, alar, por, cap, porma, ob;
        GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
        SetVehicleParamsEx(carro, VEHICLE_PARAMS_ON, lu, alar, por, cap, porma, ob);
        motor[playerid] = 1;
        SendClientMessage(playerid, COR_VERDEGRANA, " Carro ligado ");
    }
    return 1;
}
Reply


Messages In This Thread
[HELP] Urgentasso! - by Bruno Pereira - 23.08.2011, 20:36
Re: [HELP] Urgentasso! - by Lуs - 23.08.2011, 20:43
Re: [HELP] Urgentasso! - by Bruno Pereira - 23.08.2011, 21:17
Re: [HELP] Urgentasso! - by Lуs - 23.08.2011, 21:20
Re: [HELP] Urgentasso! - by [R] ousenber [K] - 23.08.2011, 21:28
Re: [HELP] Urgentasso! - by Bruno Pereira - 23.08.2011, 21:35
Re: [HELP] Urgentasso! - by [S]trong - 23.08.2011, 21:47
Re: [HELP] Urgentasso! - by Cristhian - 23.08.2011, 22:02
Re: [HELP] Urgentasso! - by [S]trong - 23.08.2011, 22:08
Re: [HELP] Urgentasso! - by CyNiC - 23.08.2011, 22:21

Forum Jump:


Users browsing this thread: 3 Guest(s)