Showing Incorrect playername
#4

Quote:
Originally Posted by Shinja
Посмотреть сообщение
You GetPlayerName before sscanf, "GetPlayerName(targetid, newpgmember, 24)" must be after getting targetid

PHP код:
if(sscanf(params"ui"targetidrank)) return SendClientMessage(playeridCOLOR_RED"Usage: /givefam [playerid][rank]");//checks if the command was typed correctly
GetPlayerName(targetidnewpgmember24); 
This should fix your issue.
Reply


Messages In This Thread
Showing Incorrect playername - by Adarsh007 - 13.09.2016, 15:33
Re: Showing Incorrect playername - by Shinja - 13.09.2016, 15:39
Re: Showing Incorrect playername - by Kaliber - 13.09.2016, 15:40
Re: Showing Incorrect playername - by saffierr - 13.09.2016, 15:41

Forum Jump:


Users browsing this thread: 1 Guest(s)