24.09.2012, 09:22
Salut!
Cand vreau sa dau /accept job la un job nu se intampla nimic
Cand vreau sa dau /accept job la un job nu se intampla nimic
pawn Код:
if(strcmp(x_job,"job",true) == 0)
{
if(GettingJob[playerid] > 0)
{
if(PlayerInfo[playerid][pMember] >= 1 && PlayerInfo[playerid][pMember] <= 2 || PlayerInfo[playerid][pMember] > 3 && PlayerInfo[playerid][pMember] < 4 || PlayerInfo[playerid][pFMember] < 255)
{
SendClientMessage(playerid, COLOR_GREY, " Cant get a Job, you are in a Organization !");
return 1;
}
SendClientMessage(playerid, COLOR_WHITE, "* Now that you have confirmed you want the Job, you got a 5 hour Contract.");
SendClientMessage(playerid, COLOR_WHITE, "* Congratulations with your new Job, type /help to see your new command.");
PlayerInfo[playerid][pJob] = GettingJob[playerid];
GettingJob[playerid] = 0;
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You haven't even been at a Job place yet!");
return 1;
}
}