Server Crash! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Server Crash! (
/showthread.php?tid=139299)
Server Crash! -
ScottCFR - 04.04.2010
When ever i use 'SendClientMessageToAll' it crashes my server. Anyone know why. My bot uses SendClientMessageToAll to say random shit but anything else crashes it.
Re: Server Crash! -
AdrianX9 - 04.04.2010
Make sure you use a code like this:
SendClientMessageToAll(0xDEEE20FF, "Your text");
Re: Server Crash! -
AdrianX9 - 04.04.2010
Fine Scott ?
Re: Server Crash! -
Peter_Corneile - 04.04.2010
Or just show the code (SendClientMessageToAll) so that we can help you in a more efficient way
Re: Server Crash! -
ScottCFR - 04.04.2010
Well, I made an Anti-Cheat, Everytime it would ban someone and say (Name) was banned!
It would crash. IDEK
Re: Server Crash! -
Beaver07 - 05.04.2010
Код:
new player[128],string[128];
GetPlayerName(playerid, player, sizeof(player));
format(string, sizeof(string), "* Player %s (ID:%d) Was Banned",player,playerid);
SendClientMessageToAll(0xFFFFFFAA, string);
make sure your code looks something like that
Re: Server Crash! -
ScottCFR - 05.04.2010
Same Exact