Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD::testuojam(playerid, params[])
- {
- Dialog_Show(playerid, DIALOG_TEST, DIALOG_STYLE_INPUT, "TEST", "Irašykie nick", "Toliau", "Išeiti");
- return true;
- }
- Dialog::DIALOG_TEST(playerid, response, listitem, inputtext[], params[])
- {
- NO return true;
- YES
- {
- new
- msg[51]
- ;
- if(sscanf(params, "us[50]", listitem, msg)) return Dialog_Show(playerid, DIALOG_TEST, DIALOG_STYLE_INPUT, "TEST", "Irašykie nick", "Toliau", "Išeiti");
- if(listitem == INVALID_PLAYER_ID) return SendServerMSG(playerid, "Tokio žaidėjo nėra");
- else
- {
- format(msg, sizeof(msg), "veikia");
- SendServerMSG(playerid, msg);
- }
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment