Untitled
unknown
plain_text
2 years ago
855 B
5
Indexable
stock LoadJob() { for(new i = 1; i < sizeof(JobInfo); i++) { if(JobInfo[i][loai_congviec] == 0) { new string[1280]; JobInfo[i][ActorJob] = CreateActor(JobInfo[i][actor_skin], JobInfo[i][job_posx], JobInfo[i][job_posy], JobInfo[i][job_posz], JobInfo[i][job_posr]); format(string, sizeof(string), "- NOI XIN VIEC LAM -\n\nCong viec: %s\nNeu muon xin viec, ban vui long su dung {ffd11a}Y{FFFFFF} de xem cong viec.", JobInfo[i][namejob], JobInfo[i][capdo_congviec]); JobInfo[i][actorLabel] = CreateDynamic3DTextLabel(string, -1, JobInfo[i][job_posx], JobInfo[i][job_posy], JobInfo[i][job_posz], 30.0, .testlos = 1, .worldid = 0, .interiorid = 0, .streamdistance = 50.0); ApplyActorAnimation(JobInfo[i][ActorJob], "PED", "IDLE_CHAT", 4.1, 1, 0, 0, 0, 0); } } return 1; }
Editor is loading...
Leave a Comment