01.02.2013, 18:41
Hey there guys,
I need some help, I've created a dialog which "Credits is dedicted to RieTzz" etc
And when the guy presses "Thanks" or anything I want it to sendclientmessagetoall.. I'll show you the code, and if you could help me, I would appreciate it rly much.
I need some help, I've created a dialog which "Credits is dedicted to RieTzz" etc
And when the guy presses "Thanks" or anything I want it to sendclientmessagetoall.. I'll show you the code, and if you could help me, I would appreciate it rly much.
pawn Код:
CMD:credits(playerid)
{
new string[128];
format(string,sizeof(string),"Credits for this server is dedicated to RieTzz.\n And Ron for his helping and support!");
ShowPlayerDialog(playerid,154,DIALOG_STYLE_MSGBOX,"Credits:",string,"Thanks","Cancel");
format(string,sizeof(string), "%s has thanked for this server!",pName(playerid));
if(!response){
SendClientMessageToAll(playerid,COLOR_LIGHTBLUE,string);
return 1;
}