Taking job problem
#5

pawn Код:
public job_setJob(playerid, jobid)
{
    new string[MAX_STRING_MSG],jobNameNow[LITTLE_STRING],jobNameFut[LITTLE_STRING],name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    job_getname(jobid,jobNameFut);
    job_getname(PlayerInfo[playerid][pJob],jobNameNow);
    pay_tempArticle[playerid] = jobid;
    if(PlayerInfo[playerid][pJob] == 0) format(string, sizeof(string), "Vous souhaitez devenir %s. \nVoulez vous prendre le job ?",jobNameFut);
    else format(string, sizeof(string), "En ce moment vous travailler en tant que %s \nMais si vous le souhaitez vous pouvez devenir %s. \nVoulez vous prendre le job ?",jobNameNow,jobNameFut);
    ShowPlayerDialog(playerid,14,DIALOG_STYLE_MSGBOX,"Contrat",string,"Prendre","Refuser");
    format(proxy_msg,sizeof(proxy_msg),"%s prend le contrat et l'observe.",name);
    proxy_sendMsg(playerid,proxy_msg);
    return true;
}
Reply


Messages In This Thread
Taking job problem - by LilBob - 07.06.2013, 18:31
Re : Taking job problem - by LilBob - 07.06.2013, 21:56
Re : Taking job problem - by LilBob - 08.06.2013, 20:20
Re: Taking job problem - by iGetty - 08.06.2013, 20:33
Re : Taking job problem - by LilBob - 08.06.2013, 20:35
Re: Taking job problem - by Pottus - 08.06.2013, 20:38

Forum Jump:


Users browsing this thread: 1 Guest(s)