20.02.2013, 16:41
I made this:
I don't understand this lol.
{s[7]}
Код:
CMD:note(playerid, params[]) { new option[128], str[256], text[256]; if(sscanf(params,"s[128]",option)) return SyntaxMSG(playerid, "/note [show/create/remove/give]"); if(!strcmp(option, "show", true)) { SCM(playerid, COLOR_YELLOWG, "|____________Notes____________|"); format(str, sizeof(str), "Note 1: {94EDED}%s{FFFFFF}.", PlayerInfo[playerid][pNote1]); SCM(playerid, -1, str); format(str, sizeof(str), "Note 2: {94EDED}%s{FFFFFF}.", PlayerInfo[playerid][pNote2]); SCM(playerid, -1, str); format(str, sizeof(str), "Note 3: {94EDED}%s{FFFFFF}.", PlayerInfo[playerid][pNote3]); SCM(playerid, -1, str); SCM(playerid, COLOR_YELLOWG, "|_____________________________|"); format(str, sizeof(str), "* %s takes out a few paper notes and looks through them.", GetNameWithMask(playerid)); ProxDetector(30.0, playerid, str, COLOR_PURPLE); } if(!strcmp(option, "create", true)) { if(sscanf(params,"s[256]",text)) return SyntaxMSG(playerid, "/note create [text]"); } return 1; }
{s[7]}