21.11.2018, 14:40
Hi! So I made some commands for my server and none of them are working. Here's a command :
When I'm compiling the script I get some warnings from ZCMD :
PHP код:
CMD:me(playerid, params[])
{
if(!LoggedIn[playerid]) return 1;
if(isnull(params)) return SendClientMessage(playerid, COLOR_RED, "USE:: /me [action]");
new string[128];
format(string, sizeof(string), "* %s %s", NameRP(playerid), params);
SendLocalMessage(playerid, COLOR_EMOTE, string);
return 1;
}
PHP код:
pawno\include\zcmd.inc(96) : warning 217: loose indentation
pawno\include\zcmd.inc(97) : warning 217: loose indentation
pawno\include\zcmd.inc(98) : warning 217: loose indentation