Bug Sscanf2
#1

Hola, no sй porque me dб problemas el sscanf, cambiй de PC y casi todos los comandos me dбn errores

Este es uno de ellos, algo tan bбsico pero no le encuentro el error por ningun lado

PHP код:
#define TEXT_OUTPUT 128
CMD:a(playeridparams[])
{
    new 
text[TEXT_OUTPUT];
    if(
PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playeridCOLOR_MESSAGES[6], "No Autorizado!");
    if(
sscanf(params"s[" #TEXT_OUTPUT "]", text)) return SendClientMessage(playerid, COLOR_MESSAGES[6], "Uso: /A [Texto]");
     
format(textsizeof(text), "%s %s %s: %s",LOGO_STAFFAdminsRangosChat[PlayerInfo[playerid][Admin]], GetName(playerid), text);
     
AdminChatStream(COLOR_MESSAGES[3], text);
    return 
1;
}
stock AdminChatStream(colstring[])
{
    foreach(new 
Player)
    {
        if(
PlayerInfo[i][Admin] >= && IsPlayerConnected(i) && PlayerInfo[i][IsLoggedIn] == true)
            {
                
SendClientMessage(icolstring);}
    }return 
1;

Me queda en el return Uso /A [Texto]
Reply


Messages In This Thread
Bug Sscanf2 - by Eloy - 27.01.2017, 07:43
Respuesta: Bug Sscanf2 - by Whillyrez - 27.01.2017, 14:15
Respuesta: Bug Sscanf2 - by Eloy - 27.01.2017, 14:36
Respuesta: Bug Sscanf2 - by FelipeAndres - 27.01.2017, 15:34
Respuesta: Bug Sscanf2 - by Eloy - 27.01.2017, 16:57
Respuesta: Bug Sscanf2 - by Whillyrez - 28.01.2017, 02:42
Respuesta: Bug Sscanf2 - by Eloy - 28.01.2017, 03:39
Respuesta: Bug Sscanf2 - by Whillyrez - 28.01.2017, 04:27
Respuesta: Bug Sscanf2 - by Eloy - 28.01.2017, 04:45
Respuesta: Bug Sscanf2 - by Whillyrez - 28.01.2017, 04:57

Forum Jump:


Users browsing this thread: 4 Guest(s)