[FilterScript] Simple AFK System.
#10

Quote:
Originally Posted by xRyder
Посмотреть сообщение
Oh, God!

Like Mean said, what's up with string sizes?

Will this(down) ever use... 40 cells??
pawn Код:
format(string,sizeof(string),"%s is afk!",gPlayers[playerid]);
And your declaring it as 256 big cell...Why?

+

Why do you restart players HP when hes '/back' at 100?
When you don't actually know how many he had before going '/afk' (You didn't check for that).
The string size he needs is:
10 - 2 = 8
8 + 24 = 32
32 + 1 = 33

33, so why 256 o_O...
Reply


Messages In This Thread
Simple AFK System. [v0.8] - by dewilix - 25.04.2011, 14:38
Re: Simple AFK System. - by [ISS]Daniele_Tom - 25.04.2011, 14:51
Re: Simple AFK System. - by dewilix - 25.04.2011, 14:53
Re: Simple AFK System. - by sniperwars - 26.04.2011, 12:47
Re: Simple AFK System. - by Markx - 26.04.2011, 12:50
Re : Simple AFK System. - by Varkoll_ - 26.04.2011, 12:54
Re: Simple AFK System. - by Mean - 26.04.2011, 23:27
Re: Simple AFK System. - by Phanto90 - 26.04.2011, 23:34
Re: Simple AFK System. - by xRyder - 26.04.2011, 23:39
Re: Simple AFK System. - by Mean - 27.04.2011, 00:13

Forum Jump:


Users browsing this thread: 2 Guest(s)