04.11.2010, 15:55
(
Последний раз редактировалось Airingas; 05.11.2010 в 13:29.
)
what may be wrong here you can would help Thanks.
if(pickupid == pickups[0][Pay]){
new Hour,Minute,Second;
gettime(Hour,Minute,Second);
if(Hour > 20 && Hour > 22)
{
new msg[128];
format(msg,sizeof(msg),"Wages balance you have: %i $. Do you want to withdraw money?",PlayerInfo[playerid[PayH]);
ShowPlayerDialog(playerid,1111,DIALOG_STYLE_MSGBOX ,"Info",msg,"Takew","Close);
}
SendClientMessage(playerid,RED,"* Salaries can be picked up from 20h to 22h");
return 1;
}
if(pickupid == pickups[0][Pay]){
new Hour,Minute,Second;
gettime(Hour,Minute,Second);
if(Hour > 20 && Hour > 22)
{
new msg[128];
format(msg,sizeof(msg),"Wages balance you have: %i $. Do you want to withdraw money?",PlayerInfo[playerid[PayH]);
ShowPlayerDialog(playerid,1111,DIALOG_STYLE_MSGBOX ,"Info",msg,"Takew","Close);
}
SendClientMessage(playerid,RED,"* Salaries can be picked up from 20h to 22h");
return 1;
}