25.07.2012, 22:06
Hi everybody, i make an /buyadmin for player because they ask me every time 'you give me admin?'.
But when i enter on server and type /buyadmin server don't make anything
Command:
But when i enter on server and type /buyadmin server don't make anything
Command:
Код:
if (strcmp(cmdtext, "/buyadmin", true)==0) { new pName; new dstrg[1024]; new name[MAX_PLAYER_NAME], strg[900]; GetPlayerName(playerid, name, sizeof(name));\ strcat(dstrg,"{FC0303}Admin Level 1 + Vip Level 1-{FFFFFF}1-Euro\n"); strcat(dstrg,"{FC0303}Admin Level 2 + Vip Level 1-{FFFFFF}2-Euro\n"); strcat(dstrg,"{FC0303Admin Level 3 + Vip Level 2-{FFFFFF}3-Euro\n"); strcat(dstrg,"{FC0303}Admin Level 4 + Vip Level 2-{FFFFFF}4-Euro\n"); strcat(dstrg,"{FC0303}Admin Level 5 + Vip Level 3-{FFFFFF}5-Euro\n"); strcat(dstrg,"{FC0303}Admin Level 6 + Vip Level 3-{FFFFFF}6-Euro\n"); strcat(dstrg,"{FC0303}Admin Level 7 + Vip Level 4-{FFFFFF}7-Euro\n"); strcat(dstrg,"{FC0303}Admin Level 8 + Vip Level 4-{FFFFFF}8-Euro\n"); strcat(dstrg,"{FC0303}Admin Level 9 + Vip Level 4-{FFFFFF}9-Euro\n"); strcat(dstrg,"{FC0303}Admin Level 10 + Vip Level 4-{FFFFFF}10-Euro\n"); strcat(dstrg,"{FFFFFF}Pentru a cumpara admin adauga id de Y!M(Yahoo! Messenger):\n"); strcat(dstrg,"{FC0303}Wolf --> sadixx.kidd@yahoo.com {FFFFFF}\n"); strcat(dstrg,"{FC0303}xBlueSx --> fathal_13@yahoo.com {FFFFFF}\n"); strcat(dstrg,"Multumim %s pentru ca ai citi Preturile.",pName); ShowPlayerDialog(playerid, 1111, DIALOG_STYLE_MSGBOX, "{FFFFFF}Salut!{FC0303}Vrei sa cumperi admin?{FFFFFF}Uite preturile mai jos.", strg, "OK", "Cancel"); return 1; }