- 0
GM edwick /collect
-
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
R4zvyy
Salut, cand dau collect la reward care se numeste Reward System Nu are cooldown, cand dau /collect, pot sa dau de multe ori...
YCMD:collect(playerid, params[], help) {
new castig = random(61);
switch(castig) {
case 0..30: {
new money = 500000 + random(1000000);
GivePlayerCash(playerid, -1, money);
SCMf(playerid, COLOR_RED, "Ai castigat $%s.", FormatNumber(money));
}
case 31..37: {
new rp = 2 + random(5);
PlayerInfo[playerid][pExp] += rp; UpdateVar(playerid, "Drugs", PlayerInfo[playerid][pDrugs]);
SCMf(playerid, COLOR_RED, "Ai castigat %d droguri.", rp);
}
case 38..43: {
PlayerInfo[playerid][pHidden] ++; UpdateVar(playerid, "Hidden", PlayerInfo[playerid][pHidden]);
SCM(playerid, COLOR_RED, "Ai castigat o culoare hidden.");
va_SendClientMessageToAll(COLOR_RED, "(( Reward: %s a castigat o culoare hidden. Felicitari! ))", GetName(playerid));
}
case 44..47: {
new pp = 5 + random(15);
PlayerInfo[playerid][pPremiumPoints] += pp; UpdateVar(playerid, "PremiumPoints", PlayerInfo[playerid][pPremiumPoints]);
GameTextForPlayer(playerid, "~r~ROLLING...", 5000, 3);
SCMf(playerid, COLOR_RED, "Ai castigat %d premium points. Felicitari!", pp);
va_SendClientMessageToAll(COLOR_RED, "((Reward: %s a castigat %d puncte premium. Felicitari! ))", GetName(playerid), pp);
}
case 48..55: {
new gems = 10 + random(20);
PlayerInfo[playerid][pPremiumPoints] += gems; UpdateVar(playerid, "PremiumPoints", PlayerInfo[playerid][pPremiumPoints]);
SCMf(playerid, COLOR_RED, "Reward: %s a castigat %d puncte premium. Felicitari!", GetName(playerid), gems);
}
case 56..59: {
PlayerInfo[playerid][pVoucher] ++; UpdateVar(playerid, "Voucher", PlayerInfo[playerid][pVoucher]);
SCM(playerid, COLOR_RED, "Ai castigat un Legendary Voucher. Felicitari!");
va_SendClientMessageToAll(COLOR_RED, "(( Reward: %s a castigat un Legendary Voucher. Felicitari! ))", GetName(playerid));
}
case 60..61: {
new money = 500000 + random(1000000);
GivePlayerCash(playerid, -1, money);
SCMf(playerid, COLOR_RED, "Ai castigat $%s.", FormatNumber(money));
}
}
return true;
}
Ma ajuta cineva?
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.