Ayuda no me anda
#7

Quote:
Originally Posted by [Nikk]
Посмотреть сообщение
Esta mal, estas usando el parametro %d cuando no hay que dar un numero. Ahi va el nombre del que le diste nivel
Y tu estas usando un especificador de tipo string cuando la variable de entrada es integer

pawn Код:
dcmd_PremiumGold( playerid, params[ ] )
{
    new playerid1;
    if(sscanf(params, "d", playerid1)) return SendClientMessage(playerid, COLOR_GRIS, "{0040FF}(Ayuda) {BDBDBD}/PremiumGold [id]"); //
    if(!IsPlayerConnected(playerid1)) return SendClientMessage(playerid, COLOR_GRIS, "Id Incorrecta/jugador OffLine"); //
    new Name1[MAX_PLAYER_NAME],Name2[MAX_PLAYER_NAME],string[128];
    premiumgold[playerid1] = 1;
    GetPlayerName(playerid,Name1,MAX_PLAYER_NAME);
    GetPlayerName(playerid1,Name2,MAX_PLAYER_NAME);
    format(string, sizeof(string), "  %s diste Premium rango gold a %s.", Name1,Name2);
    SendClientMessage(playerid, COLOR_VERDECLARO, string);
    SendClientMessage(playerid1, COLOR_ROJO, "Para Ver Los Comandos De Premium /AyudaPremium");
    return 1;
}
Reply


Messages In This Thread
Ayuda no me anda - by Fede.Zink - 06.02.2012, 16:54
Respuesta: Ayuda no me anda - by [Nikk] - 06.02.2012, 17:00
Respuesta: Ayuda no me anda - by Fede.Zink - 06.02.2012, 17:11
Respuesta: Ayuda no me anda - by [Nikk] - 06.02.2012, 17:38
Re: Ayuda no me anda - by Synyster - 06.02.2012, 18:09
Respuesta: Re: Ayuda no me anda - by [Nikk] - 06.02.2012, 18:16
Respuesta: Re: Ayuda no me anda - by Jovanny - 06.02.2012, 19:20
Respuesta: Ayuda no me anda - by [Nikk] - 06.02.2012, 19:23

Forum Jump:


Users browsing this thread: 3 Guest(s)