[Ajuda] Sscanf2
#1


Bem galera eu to ficando puto jб com a sscanf2 a dois dias atras ela estava funcionando de boa ai hoje fui jogar e comeзo a dar um problema muito chato

Ex: Comando de ir atй o cara
pawn Код:
CMD:ir(playerid, params[])
{
    if(!IsPlayerAdmin(playerid) && PlayerDados[playerid][pAdmin] < 2) return SendClientMessage(playerid,-1,"Vocк precisa estar logado na RCON ou ser admin level 2.");
    if(sscanf(params,"u",giveplayerid)) return SendClientMessage(playerid,-1,"Use: /ir [ID]");
    if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid,-1,"Jogador nгo conectado.");
    new Float:X,Float:Y, Float:Z;
    new intgiveplayerid = GetPlayerInterior(giveplayerid);
    GetPlayerPos(giveplayerid, X,Y,Z);
    SetPlayerPos(playerid, X+1, Y,Z);
    SetPlayerInterior(playerid, intgiveplayerid);
    new string[80];
    format(string,sizeof(string),"%s foi atй %s", PlayerName(playerid), PlayerName(giveplayerid));
    SendClientMessage(playerid,-1,string);
    SendClientMessage(giveplayerid,-1,string);
    return 1;
}
ele funcionava atй hoje ,agora quando eu uso o comando ele repete "Use : ir[ID]" e manda uma frase no console assim : " System Not Initialised " que significa O sistema nгo foi inicializado mesmo eu tendo e a .INC a plugin ._.

alguйm da um help ai T_T
Reply
#2

Quote:
Originally Posted by ******
Посмотреть сообщение
  • sscanf error: System not initialised.
If you get this error, you need to make sure that you have recompiled ALL your scripts using the LATEST version of "sscanf2.inc". Older versions didn't really require this as they only had two natives - "sscanf" and "unformat", the new version has some other functions - you don't need to worry about them, but you must use "sscanf2.inc" so that they are correctly called. If you think you have done this and STILL get the error then try again - make sure you are using the correct version of PAWNO for example.
_____
Reply
#3

Quote:
Originally Posted by iCasTiel
Посмотреть сообщение
_____
vlw fera
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)