Ajuda
#1

Esse й o problema!
C:\Users\Dimas\Desktop\samp03\gamemodes\MDK.pwn(17 45) : warning 209: function "Streamer_OnPlayerDisconnect" should return a value

ja coloquei o return no final mais deu no mesmo, :/ como ficaria ??

public OnPlayerDisconnect(playerid, reason)
{
Bugar[playerid] = false;
DestroyNeons(playerid,false);

PreDefStateChanges[playerid] = 0;
L_PreDefStateChanges[playerid] = 0;


for(new i; i < GetMaxPlayers(); i++)
{
if(IsPlayerConnected(i))
{
//Limpar oponente do X1
if(ChamadoParaX1Por[i] == playerid)
{
ChamadoParaX1Por[i] = -1;
CX1Tipo[playerid] = 0;
}
}
}
Reply


Messages In This Thread
Ajuda - by dimas0403 - 04.02.2015, 11:36
Re: Ajuda - by willttoonn - 04.02.2015, 11:47
Re: Ajuda - by dimas0403 - 04.02.2015, 11:55
Re: Ajuda - by PT - 04.02.2015, 12:16

Forum Jump:


Users browsing this thread: 1 Guest(s)