Liebe Community,
ich habe das Problem, wenn ich den Text erweitern will, wird es aber InGame nicht erweitert.
die Befehle:
ocmd:sc(playerid,params[])
{
new text[144],string[256],string1[256];
if(GetPVarInt(playerid,"LiveChat") != 1) return SendClientMessage(playerid,COLOR_GRAD1,"Du bist in keinem Support!");
if(sscanf(params,"s",text)) return SendClientMessage(playerid,COLOR_GRAD1,"/sc [Text]");
format(string,sizeof(string),"[SUPPORT]: %s: %s",Name(playerid),text);
SendClientMessage(GetPVarInt(playerid,"RPartner"),COLOR_SGREEN,string);
format(string1,sizeof(string1),"[SUPPORT]: %s: %s",Name(playerid),text);
SendClientMessage(playerid,COLOR_SGREEN,string1);
return 1;
}
ocmd:sa(playerid,params[])
{
new text[144],string[256],string1[256];
if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid,COLOR_GRAD1,"Du hast keine Berechtigung.");
if(GetPVarInt(playerid,"LiveChat") != 1) return SendClientMessage(playerid,COLOR_GRAD1,"Du bist in keinem Support.");
if(sscanf(params,"s",text)) return SendClientMessage(playerid,COLOR_GRAD1,"/sa [Text]");
format(string,sizeof(string),"[SUPPORT]: %s: %s",Name(playerid),text);
SendClientMessage(GetPVarInt(playerid,"RPartner"),COLOR_SGREEN,string);
format(string1,sizeof(string1),"[SUPPORT]: %s: %s",Name(playerid),text);
SendClientMessage(playerid,COLOR_SGREEN,string1);
return 1;
}
Also der Text hat keine 144 Zeilen, wenn ich inGame /sa, /sc mache.
Ich hoffe ihr könnt Helfen.
MfG
James.