20.12.2017, 16:37
So many copy pasta, no explanation.
He'd just keep making requests and you guys would script it for him and he wouldn't understand what the heck is in the code.
I've noticed no one fixed the "str" length from 250 to 145, because SendClientMessage just won't send beyond that.
@aoky, you have double semi colon
Ain't sure why "GiveAllCookies" accepts playerid if its unused.
He'd just keep making requests and you guys would script it for him and he wouldn't understand what the heck is in the code.
I've noticed no one fixed the "str" length from 250 to 145, because SendClientMessage just won't send beyond that.
@aoky, you have double semi colon
Код:
if(sscanf(params, "i",amount)) return SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /giveallcookie [Amount]");;
Код:
SendClientMessageToAll(COLOR_ORANGE, str);;