Quote:
Originally Posted by SilentSoul
I guess you have already done what you want. just send this message when he connects, like
pawn Код:
enum p_data { personalmsg[128]//make sure you've added this array which makes it a string later }; new PlayerInfo[MAX_PLAYERS][p_data]; public OnPlayerConnect(playerid) { new str[126]; format(str, sizeof(str), "Your personal message is: %s", PlayerInfo[playerid][personalmsg]); SendClientMessage(playerid, -1, str); //or show him a dialog if you want. ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_MSGBOX, "Personal Message", str, "Close", ""); return true; }
If I am wrong, please explain more. or show errors if there is any.
|
No not Onplayerconnect. not a single dialog. i want a muli dialog. which i can do more inside of it . but it need to be in /cp command
It's like a weapon system. but togeter dialog