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, "_", " ");