[HELP] Server crashes on /stats
#3

First of all, I recomment to dont use 'string = "STRING" , but use 'strins'
Or, use the function I made:

pawn Код:
stock strset(astr[], astrtoinsert[])
{
    strdel(astr, 0, strlen(astr));
    strmid(astr, astrtoinsert, 0, false, strlen(astrtoinsert));
}
So instead of 'rank = "Captain"' it is 'strset(rank, "Captain")' -> I read somewhere that that was better :P
And after that, idk yet what's wrong. Unless this line:
pawn Код:
format(coordsstring, sizeof(coordsstring), "Radio: [%s] Phone: [%s] Melee: [%s]");
You forgot to give the strings. But I don't think the server is going to crash because of that?
I don't have that...
I'll take a a look

[EDIT]
Omg while I was typing this message someone already replied...
Reply


Messages In This Thread
[HELP] Server crashes on /stats - by Fredden1993 - 01.11.2010, 15:31
Re: [HELP] Server crashes on /stats - by The_Moddler - 01.11.2010, 15:36
Re: [HELP] Server crashes on /stats - by Kwarde - 01.11.2010, 15:37

Forum Jump:


Users browsing this thread: 1 Guest(s)