i need help with error
#7

You could use strfind and just look for the & in inputtext or you could do the following:
pawn Код:
for(new b; b<strlen(inputtext); b++)
{
    if(inputtext[b] == '&')
    {
        SendClientMessage(playerid, -1, "You cannot use '&' in your input");
        return 0;
    }
}
Reply


Messages In This Thread
i need help with error - by madh3r0 - 23.12.2012, 20:11
Re: i need help with error - by [HiC]TheKiller - 23.12.2012, 21:47
Re: i need help with error - by madh3r0 - 23.12.2012, 21:55
Re: i need help with error - by [HiC]TheKiller - 23.12.2012, 22:00
Re: i need help with error - by madh3r0 - 23.12.2012, 22:02
Re: i need help with error - by madh3r0 - 23.12.2012, 22:17
Re: i need help with error - by [HiC]TheKiller - 23.12.2012, 22:23
Re: i need help with error - by madh3r0 - 23.12.2012, 22:34

Forum Jump:


Users browsing this thread: 1 Guest(s)