14.03.2013, 14:53
Hey, I'm still learning more but I can't figure this out..
When I rob in my server a dialog-box comes up with information about the robbery, the problem is the players can't shoot incase cops comes or anything while they're in the checkpoint so I want the timer for the robbery to just be on the screen.. how exactly do I change it :/?
When I rob in my server a dialog-box comes up with information about the robbery, the problem is the players can't shoot incase cops comes or anything while they're in the checkpoint so I want the timer for the robbery to just be on the screen.. how exactly do I change it :/?
Код:
HospitalRobbedRecently =300;
RobbingHospital[playerid] =25;
IncreaseWantedLevel(playerid,4);
IncreasePlayerScore(playerid,1);
format(string,sizeof(string),"Robbing Hospital.\nFinish Robbery in: %d seconds.\nPolice are on the way.",RobbingHospital[playerid]);
ShowPlayerDialog(playerid,DIALOG_HOSPITAL,DIALOG_STYLE_MSGBOX,"{FF0000}Hospital Robbery",string,"Ok","Cancel");
format(string,sizeof(string),"[POLICE RADIO] Suspect %s(%d) has begun to rob the Hospital! Get To the Hospital and arrest the suspect.",pname,playerid);
SendClientMessageToAllCops(string);
format(string,sizeof(string),"[ROBBERY] %s(%d) has begun a robbery at the Hospital ..",pname,playerid);
SendClientMessageToAll(COLOR_RED,string);
format(string,sizeof(string),"4[ROBBERY] %s(%d) has begun a robbery at the Hospital ..",pname,playerid);
IRC_GroupSay(gGroupID,IRC_CHANNEL,string);
return 1;
}

