oban command
#8

In the sscanf;

Код:
if(sscanf(params, "s[50]s[50]", otherPlayer, reason)) return SendClientMessage(playerid, -1, "{FF0000}[ERROR] {FFFFFF}Usage: /oban <playername> <reason>");
Why is the "otherPlayer" variable so large? It only has to be 24 since player names can only go up to 24 characters long.
Reply


Messages In This Thread
oban command - by mmostafa - 03.06.2018, 13:19
Re: oban command - by SeanDenZYR - 03.06.2018, 13:46
Re: oban command - by mmostafa - 03.06.2018, 19:34
Re: oban command - by mmostafa - 03.06.2018, 22:50
Re: oban command - by insus100 - 04.06.2018, 00:01
Re: oban command - by GTLS - 04.06.2018, 05:13
Re: oban command - by mmostafa - 04.06.2018, 17:27
Re: oban command - by Stev - 04.06.2018, 17:42
Re: oban command - by mmostafa - 04.06.2018, 17:47
Re: oban command - by mmostafa - 04.06.2018, 17:51

Forum Jump:


Users browsing this thread: 1 Guest(s)