17.06.2016, 12:31
Am o comanda /getjobc si vreau sa ii schimbe din job 0 in job 1.
Am incercat cu pInfo[playerid][pJob]=1;
dar nu se schimba in folderul user/job=0
Am incercat cu pInfo[playerid][pJob]=1;
dar nu se schimba in folderul user/job=0
PHP код:
CMD:getjobc(playerid)
{
if(IsPlayerInRangeOfPoint(playerid,4,589.7928,870.6724,-42.4973))
{
SendClientMessage(playerid,-1,"{FF0000}INFO:{FFFFFF}Acuma esti muncitor la cariera");
PlayerInfo[playerid][pJob] = 1;
}
else SendClientMessage(playerid, -1, "{FF0000}INFO:{FFFFFF}Nu esti in locul potrivit,ti-am setat un checkpoint catre job.");
SetPlayerCheckpoint(playerid,589.7928,870.6724,-42.4973,3.0);
onjobc[playerid] = true;
return 1;
}