16.02.2019, 01:26
Hello guys.
So I added a script to my server where the nicknames can go from Nick_Name to Nick Name without " _ ".
I was watching a tutorial from this forum.
But I get warning on my Gmod.
this is what i placed
By default is " GETPLAYERNAME " but it has the " _ " but when I change GetPlayerName to GetName i get the warning?
Any solutions?
So I added a script to my server where the nicknames can go from Nick_Name to Nick Name without " _ ".
I was watching a tutorial from this forum.
But I get warning on my Gmod.
Код:
warning 202: number of arguments does not match definition
Код:
stock GetName(playerid) { new name[24]; GetPlayerName(playerid, name, sizeof(name)); strreplace(name, '_', ' '); return name; }
Any solutions?