01.02.2015, 23:08
pawn Код:
case DIALOG_EVENTNAME:
{
if(response)
{
new string[100];
playerid = adminevent[playerid];
eventteleports = 1;
eventon = 1;
if(eventamount == 1)
{
format(string,sizeof(string),"~b~ %s~w~ has started! price : ~g~$~w~10,000~n~~w~type ~r~ /yes~w~ to join!",inputtext);
GameTextForAll(string,3000,5);
}
if(eventamount == 2)
{
format(string,sizeof(string),"~b~ %s~w~ has started! price : ~g~$~w~100,000~n~~w~type ~r~ /yes~w~ to join!",inputtext);
GameTextForAll(string,3000,5);
}
if(eventamount == 3)
{
format(string,sizeof(string),"~b~ %s~w~ has started! price : ~g~$~w~500,000~n~~w~type ~r~ /yes~w~ to join!",inputtext);
GameTextForAll(string,3000,5);
}
if(eventamount == 1)
{
format(string,sizeof(string),"~b~ %s~w~ has started! price : ~g~$~w~1,000,000~n~~w~type ~r~ /yes~w~ to join!",inputtext);
GameTextForAll(string,3000,5);
}
}