Server crashing problem
#1

Hi there.

Iґve recently added this here at OnPlayerDeath:

if(reason == 255)
{
format(kstring,sizeof(kstring),"~b~%s ~w~has ~r~died.",pName);
TextDrawSetString(killdraw, kstring);
}
else
{
format(kstring,sizeof(kstring),"~b~%s ~w~has ~r~killed ~g~%s",kName,pName);
TextDrawSetString(killdraw, kstring);
}

Well but now, everytime a player died, the server crashes. Anyone got a idea why?
Reply
#2

Yep, Iґve tested it again, as youґre using it at OnPlayerDeath, the server crashes, if not, it doesnt.
Reply
#3

What about first try a other number as 255 in that? I guess this might cause the bugg, but i dont know how to fix it, because i'm not handy with Death-reasons.

Cheers
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)