Command of adminjail
#7

Код:
new string[128]
format(string, sizeof(string), "COLOR_RED" "%s is now Admin Duty. Use (/report) to ask help",GetPlayerName(playerid, 0));
Change it to:
Код:
new string[128];
GetPlayerName(playerid, string);
format(string, sizeof(string), "{FF0000}%s is now Admin Duty. Use (/report) to ask help", string);
The second one is just a warning, fix it by indentation.
https://en.wikipedia.org/wiki/Indent_style
Reply


Messages In This Thread
Command of adminjail - by Zeus666 - 30.06.2016, 20:42
Re: Command of adminjail - by Stinged - 30.06.2016, 20:47
Re: Command of adminjail - by Zeus666 - 30.06.2016, 20:53
Re: Command of adminjail - by Shinja - 30.06.2016, 21:00
Re: Command of adminjail - by Stinged - 30.06.2016, 21:05
Re: Command of adminjail - by Zeus666 - 30.06.2016, 21:07
Re: Command of adminjail - by Stinged - 30.06.2016, 21:19
Re: Command of adminjail - by Zeus666 - 30.06.2016, 21:25
Re: Command of adminjail - by Stinged - 30.06.2016, 21:26
Re: Command of adminjail - by Zeus666 - 30.06.2016, 21:27

Forum Jump:


Users browsing this thread: 2 Guest(s)