- 0
Problema /getmats
-
Similar Content
-
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
PrtSc
Problema intalnita (descriere): /getmats bug
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul(obligatoriu): in jos
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: Nu
Cand fac o tura de mats, si daca vreau sa dau find pe hq los vagos ajung acolo si imi da infiniti de bani cum rezolv ?
CMD:getmats(playerid, params[]) {
if(jobVariables[playerVariables[playerid][pJob]][jJobType] != 1) return 1;
if(IsPlayerInRangeOfPoint(playerid, 5, 597.7913,-1245.6721,17.7928)) {
if(playerVariables[playerid][pCheckpoint] == 0) {
if(playerVariables[playerid][pMoney] += 1000) {
SetPlayerCheckpoint(playerid, 1713.6470,916.7785,10.3817, 10);
SendClientMessage(playerid, COLOR_WHITE, "Reach the checkpoint to collect your materials.");
playerVariables[playerid][pCheckpoint] = 2;
}
else {
return SendClientMessage(playerid, COLOR_GREY, "You need to pay $1000 to collect materials.");
}
}
else {
format(szMessage, sizeof(szMessage), "You already have an active checkpoint (%s), reach it first, or /killcp.", getPlayerCheckpointReason(playerid));
SendClientMessage(playerid, COLOR_WHITE, szMessage);
}
}
return 1;
Edited by Kallen}
A fost nevoie
3 answers to this question
Recommended Posts