04.02.2009, 22:15
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
return 1;
}
dcmd(help,4,cmdtext);
return 0;
}
pawn Код:
dcmd_help(playerid,params[]) {
#pragma unused params
if(IsPlayerConnected(playerid) == 0)
{
SendClientMessage(playerid,0x0BF4AEFF,"blablabla");
SendClientMessage(playerid,0x0BF4AEFF,"blablabla");
SendClientMessage(playerid,0x0BF4AEFF,"blablabla");
SendClientMessage(playerid,0x0BF4AEFF,"blablabla");
}
return 1;
}