01.11.2014, 11:12
hi to all dears
i have a problem
i made this cmd
but in players information it save just One letter of clan name
can somebody fix it for me?
thank you really
i have a problem
i made this cmd
PHP Code:
dcmd_clan(playerid,params[])
{
new string[128];
new name;
if(sscanf(params, "s",name))
{
SendClientMessage(playerid,COLOR_ERROR,"Pls Use /Clan [Name]");
return 1;
}
if(Clan[playerid] != 0)
{
SendClientMessage(playerid,COLOR_ERROR,"You Have Clan");
return 1;
}
Clan[playerid] =name;
Rank[playerid] =5;
format(string,sizeof(string),"{00FFFF}You Successfully Created Clan >> {FFFF00}%s ",name);
SendClientMessage(playerid,COLOR_DODGERBLUE,string);
return 1;
}
can somebody fix it for me?
thank you really