26.07.2012, 14:54
Код:
YCMD:takejob(playerid,params[],help) { #pragma unused help #pragma unused params new id = GetJobID(playerid); if(id == -1) return SCM(playerid,COLOR_RED,"EROR: "COL_WHITE"There is no any job."); if(P_Data[playerid][pJob] != 0) return SCM(playerid,COLOR_RED,"EROR: "COL_WHITE"You already have job."); SendFormatMSG(playerid,-1,"Now your job is {E0941B}%s",Job[id][Name]); P_Data[playerid][pJob] = id; return 1; } How to create this for 30 minutes?