01.02.2015, 20:35
Hello guys i am making an event system
here is the dialog where you put the name to start event if you choose the name then it should procceed but it doesnt show game textforall :O its actually not starting the event!!
here is the dialog where you put the name to start event if you choose the name then it should procceed but it doesnt show game textforall :O its actually not starting the event!!
pawn Код:
case DIALOG_EVENTNAME:
{
if(response)
{
new ename[50],string[100];
if(strcmp(ename,"%s",true))
{
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!",ename);
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!",ename);
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!",ename);
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!",ename);
GameTextForAll(string,3000,5);
}
}
}