String size help
#1

Hello there, i tried to script a fakechat cmd but it sends a perticular size of text it cant send more then i think 30 words i need it to send all the words which are being sent.

Code:
pawn Код:
CMD:fakechat(playerid, params[])
{
        new id, msg[128], string[128];
        if(AdminLevel[playerid] <=2) return SendClientMessage(playerid, -1, "SERVER: Unknown command.");
        if(sscanf(params,"ds",id,msg)) return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /fakechat [id] [msg]");
        format(string, sizeof(string), "%s",msg);
        SendPlayerMessageToAll(id, string);
        return 1;
}
Reply


Messages In This Thread
String size help - by Marven - 04.06.2014, 09:35
Re: String size help - by Konstantinos - 04.06.2014, 09:36
Re: String size help - by Marven - 04.06.2014, 09:39

Forum Jump:


Users browsing this thread: 1 Guest(s)