02.12.2011, 22:27
pawn Код:
CMD:creditos(playerid, params[])
{
new isc[128];
strins(isc,"{FFFF00}GameMode: {FFFFFF}[iSC]AleeFerreira \n",strlen(isc));
strins(isc,"{FFFF00}Mapper: {FFFFFF}[iSC]AleeFerreira \n",strlen(isc));
strins(isc,"{FFFF00}Clг: {FFFFFF}[iSC]\n",strlen(isc));
ShowPlayerDialog(playerid, 2002, DIALOG_STYLE_MSGBOX, "{FFFF00} Creditos ",isc, "Ok", "");
return true;
}
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success)
{
format(string, sizeof(string), "{228B22}(ERRO) {FF0000}O comando {00FF00}%s {FF0000}й Invбlido!", cmdtext);
return SendClientMessage(playerid, -1, string);
}
return 1;
}
Concerteza.