[Ajuda] Iniciar Comando
#7

feito apartir de zcmd o comando

pawn Код:
CMD:teste(playerid)
{
    if(!IsAnElegy(GetPlayerVehicleID(playerid)))
    {
        SendClientMessage(playerid, VERMELHO, "Vocк deve estar em um Elegy.");
        return 1;
    }
    else
    {
        // Code here
    }
    return 1;
}


stock IsAnElegy(vehicleid)
{
    new result;
    new model = GetVehicleModel(vehicleid);
    switch(model)
    {
        case 562: result = model;
        default: result = 0;
    }
    return result;
}
Reply


Messages In This Thread
Iniciar Comando - by TheKoDaK - 26.07.2013, 20:26
Respuesta: Iniciar Comando - by ViniKuliveguisky - 26.07.2013, 20:31
Re : Iniciar Comando - by ThiagoMK - 26.07.2013, 20:32
Re: Iniciar Comando - by @Riichard - 26.07.2013, 20:33
Re: Respuesta: Iniciar Comando - by TheKoDaK - 26.07.2013, 20:34
Re: Iniciar Comando - by TheKoDaK - 26.07.2013, 20:37
Re: Iniciar Comando - by PT - 26.07.2013, 23:32

Forum Jump:


Users browsing this thread: 1 Guest(s)