- 0
Modificare comanda job la factiune
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Jimmi
Problema intalnita (descriere):Am scos job-ul mecanic si vreau sa pun comenzile membrilor TCC. dar nu stiu cum sa o modific
Ero(area / rile) / warning-(ul / urile):-
Liniile de cod / sursa / script-ul(obligatoriu):
if(strcmp(cmd, "/mduty", true) == 0) { if(PlayerInfo[playerid][pJob] == 7 || PlayerInfo[playerid][pJob1] == 7) { if(JobDuty[playerid] == 1) { SendClientMessage(playerid, COLOR_WHITE, "Acum esti off-duty ca mecanic si nu vei mai primi apelurile jucatorilor."); JobDuty[playerid] = 0; Mechanics -= 1; } else { SendClientMessage(playerid, COLOR_WHITE, "*Acum esti on-duty ca mecanic si vei primi apelurile jucatorilor."); JobDuty[playerid] = 1; Mechanics += 1; GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, sizeof(string), "Mecanicul %s este acum on-duty, folositi /service TCC", sendername); OOCNews(0x2993EDAA,string); } } return 1; }[code] Imagini / Video (optional):- Ati incercat sa rezolvati singur?:DaFactiunea tcc are id 14/(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
Edited by jimmi5 answers to this question
Recommended Posts