Unsuspect Command Not working ( Requesting Lock )
#1

I'm having trouble with a unsuspect command,
pawn Код:
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
                        format(string, sizeof(string), "You Have cleared %s's crimes!",giveplayer);
                    SendClientMessage(playerid,COLOR_LIGHTRED,string);
                        GameTextForPlayer(giveplayerid, "~w~Unsuspected!", 5000, 3);
                        format(string, sizeof(string), "[ADMIN]: %s Has Unsuspected %s (%d)",sendername, giveplayer, giveplayerid);
                        ABroadCast(COLOR_LIGHTRED,string, 5);
                        ClearCrime(giveplayerid);
                        format(string, sizeof(string), "%s(%d) has unsuspected %s(%d) reason: %s",sendername, giveplayerid, giveplayer, giveplayerid, );
                        SendRadioMessage(3, COLOR_DUTY, string);
                        SendRadioMessage(2, COLOR_DUTY, string);
                        SendRadioMessage(1, COLOR_DUTY, string);
                        format(string, sizeof(string), "Unsupected be a good citizen!",sendername)
                        SendClientMessage(giveplayerid, COLOR_LIME, string);
                        SetPlayerToTeamColor(giveplayerid);
                        new y, m, d;
                        new h,mi,s;
                        getdate(y,m,d);
                        gettime(h,mi,s);
                        format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s Unsuspected to %s",d,m,y,h,mi,s,sendername,giveplayer);
                        GiveLog(string);


Quote:

format(string, sizeof(string), "%s(%d) has unsuspected %s(%d) reason: %s",sendername, giveplayerid, giveplayer, giveplayerid, );

When i compile, IT works but when i use /cancelsuspect id reason, the reason won't show up... But when i add reason into the sendername, giveplayerid, giveplayer, giveplayerid pawn has a error 017
Reply


Messages In This Thread
Unsuspect Command Not working ( Requesting Lock ) - by Alex_Smitholie - 13.06.2010, 09:20
Re: Unsuspect Command Not working - by TheInnocentOne - 13.06.2010, 09:23
Re: Unsuspect Command Not working - by Cameltoe - 13.06.2010, 09:26
Re: Unsuspect Command Not working - by Alex_Smitholie - 13.06.2010, 09:28
Re: Unsuspect Command Not working - by Blt950 - 13.06.2010, 09:29
Re: Unsuspect Command Not working - by Alex_Smitholie - 13.06.2010, 09:29
Re: Unsuspect Command Not working - by Blt950 - 13.06.2010, 09:30
Re: Unsuspect Command Not working - by Dark_Kostas - 13.06.2010, 09:30
Re: Unsuspect Command Not working - by Alex_Smitholie - 13.06.2010, 09:32
Re: Unsuspect Command Not working - by Alex_Smitholie - 13.06.2010, 09:33

Forum Jump:


Users browsing this thread: 1 Guest(s)