14.08.2010, 12:23
its not work for me. just give me errors.
i tried to take this code and make it work for /ad command.
fix my code please.
i tried to take this code and make it work for /ad command.
fix my code please.
pawn Код:
new part1[256];
new part2[512];
if(offset > 256)
{
strmid(part1,"Advertisement: %s", result ,0,256,255);
strmid(part2,"Contact: %s Ph: %d", sendername,PlayerInfo[playerid][pPnumber] ,257,512,255);
SendClientMessageToAll(TEAM_GROVE_COLOR,part1);
SendClientMessageToAll(TEAM_GROVE_COLOR,part2);
}