/me errors
#5

Quote:
Originally Posted by xXitsgodzillaXx
Посмотреть сообщение
1 error after putting

pawn Код:
stock GetName(playerid)
{
    new name[24];
    GetPlayerName(playerid, name, sizeof(name));
    strreplace(name, '_', ' ');
    return name;
}
in my script.
Which line is that on? The only line I see a potential problem with is the strreplace line, it might be looking for a string instead of a character, so change it to this:

pawn Код:
strreplace(name, "_", " ");
Reply


Messages In This Thread
/me errors - by xXitsgodzillaXx - 07.05.2012, 23:22
Re: /me errors - by ReneG - 07.05.2012, 23:24
Re: /me errors - by JaTochNietDan - 07.05.2012, 23:24
Re: /me errors - by xXitsgodzillaXx - 07.05.2012, 23:53
Re: /me errors - by JaTochNietDan - 08.05.2012, 00:01
Re: /me errors - by xXitsgodzillaXx - 08.05.2012, 00:07

Forum Jump:


Users browsing this thread: 1 Guest(s)