Server Crash!
#1

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.
Reply
#2

Make sure you use a code like this:

SendClientMessageToAll(0xDEEE20FF, "Your text");
Reply
#3

Fine Scott ?
Reply
#4

Or just show the code (SendClientMessageToAll) so that we can help you in a more efficient way
Reply
#5

Well, I made an Anti-Cheat, Everytime it would ban someone and say (Name) was banned!

It would crash. IDEK
Reply
#6

Код:
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
Reply
#7

Same Exact
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)