03.08.2014, 15:26
Okay so my server when I made it was working fine.. but all of a sudden, some of the chats I made like, /announce, /b, /ooc and stuff are all limited to like 50 characters and I didnt do anything! Is this a common problem, and if so how might I fix it?
NOTE: If lines of code are needed just comment and I'll put them up. :P
The /b command..
NOTE: If lines of code are needed just comment and I'll put them up. :P
The /b command..
Код:
command(b, playerid, params[])
{
new Message[128], string[128];
if(sscanf(params, "z", Message))
{
SendClientMessage(playerid, WHITE, "SYNTAX: /b [message]");
}
else
{
if(strlen(Message) < 1 || !IsPlayerConnectedEx(playerid))
{
return 1;
}
else
{
if(Player[playerid][PrisonID] == 1)
{
SendClientMessage(playerid, WHITE, "You may not use this channel right now.");
}
else
{
format(string, sizeof(string), "(( %s says: %s )) ", GetName(playerid), Message);
NearByMessage(playerid, WHITE, string);
}
}
}
return 1;
}


