Try to remove the stock strreplace(string[], find, replace).
It seems like you have one already defined somewhere in the script/include.
Alrighty, thanks so far, as i am left with one error "G:\Roleplay Server\gamemodes\rp.pwn(227) : error 035: argument type mismatch (argument 2)" and that line is "strreplace(name, '_', ' ');"