command crashes server
#4

Dont know if it can cause a crash, but those lines wont work as you want them to:

pawn Код:
SendClientMessage(playerid, COLOR_GREY, "You Have Cuffed Citizen %s(%d)!");
        SendClientMessage(id, COLOR_GREY, "You've Been Cuffed By Officer %s(%d)!");
the %s and %d have to be replaced first, using format, maybe samp cant handle them in an unformated message.

pawn Код:
new text[64];
format(text, 64, "You Have Cuffed Citizen %s(%d)!", idname, id);
SendClientMessage(playerid, COLOR_GREY, text);
format(text, 64, "You've Been Cuffed By Officer %s(%d)!", name, playerid);
SendClientMessage(id, COLOR_GREY, text);
Reply


Messages In This Thread
command crashes server - by Kar - 13.07.2010, 12:12
Re: command crashes server - by Hiddos - 13.07.2010, 12:13
Re: command crashes server - by Kar - 13.07.2010, 12:29
Re: command crashes server - by Mauzen - 13.07.2010, 12:46

Forum Jump:


Users browsing this thread: 1 Guest(s)