[Ajuda] Erro compilaзao
#6

Quote:
Originally Posted by Nickvj7
Посмотреть сообщение
Pхe no final do pwn do seu gamemode.

pawn Код:
strtok(const string[], &index)
{
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
        index++;
    }
 
    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
        result[index - offset] = string[index];
        index++;
    }
    result[index - offset] = EOS;
    return result;
}
vlw manin mais so falto esse oque faзo?

Код:
C:\Users\Leonardo Monteiro\Desktop\[head-samp] play online completo [head-samp] (1)\Servidor Online sitebpo.tk\gamemodes\RPG.pwn(40259) : warning 203: symbol is never used: "DOF2_Exit"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
ate vi uma dica de como resolver
Код:
//public OnGameModeExit
DOF2_Exit();
sendo que no GM ja tem esse:

Код:
public OnGameModeExit()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
	{
	    if(IsPlayerConnected(i))
	    { OnPlayerSave(i); }
	}
	for(new objectid; objectid<F_MAX_OBJECTS; objectid++)
	{
	    F_DestroyObject(objectid);
	}
	F_ObjectUpdate(false);
	return 1;
}
oque faзo?
Reply


Messages In This Thread
Erro compilaзao - by AssasinoLM - 05.03.2014, 22:05
Re: Erro compilaзao - by mau.tito - 05.03.2014, 22:11
Re: Erro compilaзao - by yNexus - 05.03.2014, 22:12
Re: Erro compilaзao - by AssasinoLM - 06.03.2014, 06:26
Re: Erro compilaзao - by Locky_ - 06.03.2014, 12:09
Re: Erro compilaзao - by AssasinoLM - 06.03.2014, 13:05
Re: Erro compilaзao - by Locky_ - 06.03.2014, 16:35
Re: Erro compilaзao - by AssasinoLM - 06.03.2014, 19:19

Forum Jump:


Users browsing this thread: 1 Guest(s)