"i" error
#4

Код:
new pName[24];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "%s %s", level, pName);
GetPlayerName returns the length of the name, not the name itself.
https://sampwiki.blast.hk/wiki/GetPlayerName
Reply


Messages In This Thread
"i" error - by Acres - 08.01.2014, 12:53
Re: "i" error - by rakshith122 - 08.01.2014, 12:56
Re: "i" error - by newbie scripter - 08.01.2014, 12:58
Re: "i" error - by PowerPC603 - 08.01.2014, 12:59
Re: "i" error - by offon - 08.01.2014, 13:01
Re: "i" error - by Acres - 08.01.2014, 13:06

Forum Jump:


Users browsing this thread: 1 Guest(s)