Comando incompleto / erroneo
#6

Код:
CMD:jetpack(playerid, params[])
{
    new id, string[128], string2[128], nombre[MAX_PLAYER_NAME];
    if(!IsPlayerAdmin(playerid)) return 0;
    {
        if(sscanf(params,"u",id)) return SendClientMessage(playerid,COLOR_RED,"[ERROR]: /jetpack [playerID]");
        else
         GetPlayerName(id, nombre, sizeof(nombre));
            SetPlayerSpecialAction(id,SPECIAL_ACTION_USEJETPACK);
        format(string, sizeof(string),"Le diste a %s un jetpack!", nombre);
        SendClientMessage(playerid, COLOR_GREEN, string);
        format(string2 ,sizeof(string2),"%s te dio un jetpack!", id);
        SendClientMessage(id, COLOR_GREEN, string2);
    }
    return 1;
}
Reply


Messages In This Thread
Comando incompleto / erroneo - by benjas09 - 29.01.2013, 23:22
Respuesta: Comando incompleto / erroneo - by OneBlaack - 29.01.2013, 23:30
Respuesta: Comando incompleto / erroneo - by benjas09 - 29.01.2013, 23:31
Respuesta: Comando incompleto / erroneo - by OneBlaack - 29.01.2013, 23:33
Respuesta: Comando incompleto / erroneo - by benjas09 - 29.01.2013, 23:34
Respuesta: Comando incompleto / erroneo - by OneBlaack - 29.01.2013, 23:43
Re: Comando incompleto / erroneo - by Daniel-92 - 29.01.2013, 23:51
Respuesta: Comando incompleto / erroneo - by benjas09 - 29.01.2013, 23:51
Re: Comando incompleto / erroneo - by ThePhenix - 30.01.2013, 00:04
Respuesta: Re: Comando incompleto / erroneo - by benjas09 - 30.01.2013, 00:23

Forum Jump:


Users browsing this thread: 2 Guest(s)