How can i make this so a user can choose the name?
#9

Quote:
Originally Posted by [TLV
ReVo_ ]
Add if(!strlen(scritta)) return SendClientMessage(playerid,COLOR_RED," Use: /player_on [TEXT]");

For check if player write text...

if you "filtre" the [ or ]

add end of you script
pawn Код:
CheckText(string[])
{
for(new i = 0; i < sizeof(string); i++)
{
if(string[i] == ']' || string[i] == '[') return 1;
}
return 0;
}
And in the command

if(CheckText(scritta)) return SendClientMessage(playerid,COLOR_RED," Not write [ or ]!");
Uhh...
I.. I.. Uh.. Can you please rewrite the script for me,
i don't exactly know what to do..
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)