- 0
Ajutor Scripting
-
Similar Content
-
- 8 replies
- 1.478 views
-
- 1 reply
- 665 views
-
- 2 replies
- 2.000 views
-
Am o problema cu un special quest de iarna,sunt la inceput cu scripting-ul si am o problema,cand intru in raza de checkpoint nu se intampla absolut nimic,stie cineva de ce?
By cbnmihaita,
- 3 answers
- 1.021 views
-
Scripting Free
By Ronni,
- 16 replies
- 1.995 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.

Question
Ionchy4KP
function Fish(playerid) {
new x, string[180];
if(!IsPlayerConnected(playerid)) return 1;
if(PlayerInfo[playerid][pJob] == 11) {
RemovePlayerAttachedObject(playerid, 0);
x = 34000 + random(1000) + GetPlayerSkill(playerid)*500;
if(PlayerInfo[playerid][pPremiumAccount] == 1) x += x/2;
new rar = random(5000);
if(rar >= 490 && rar < 495) {
x += 34000 + random(700000);
format(string, sizeof(string), "Ai prins un peste rar care valoreaza $%s!", FormatNumber(x));
SCM(playerid, COLOR_YELLOW, string);
SCM(playerid, -1, "Pentru a vinde pestele, trebuie sa mergi intr-un 24/7. (/gps)");
format(string, sizeof(string), "* %s a prins un peste rar ce valoreaza $%s.", GetName(playerid), FormatNumber(x));
NearMessage(playerid, COLOR_YELLOW, string);
}
else if(rar >= 495) {
format(string, sizeof(string), "Ai prins un peste foarte rar!", FormatNumber(x));
SCM(playerid, COLOR_BLUE, string);
SCM(playerid, -1, "Pentru a vinde pestele, trebuie sa mergi intr-un 24/7. (/gps)");
format(string, sizeof(string), "* %s a prins un peste foarte rar care valoreaza %s.", GetName(playerid), FormatNumber(x));
NearMessage(playerid, COLOR_YELLOW, string);
}
else {
format(string, sizeof(string), "Ai prins un peste normal care valoreaza $%s!", FormatNumber(x));
SCM(playerid, COLOR_DARKPINK, string);
SCM(playerid, -1, "Pentru a vinde pestele, trebuie sa mergi intr-un 24/7. (/gps)");
format(string, sizeof(string), "* %s a prins un peste normal ce valoreaza $%s.", GetName(playerid), FormatNumber(x));
NearMessage(playerid, COLOR_YELLOW, string);
}
HaveFish[playerid] = x;
StartFish[playerid] = 0;
TogglePlayerControllable(playerid, 1);
Freezed[playerid] = 0;
}
return 1;
}
Am comanda asta as vrea ca la fish sa-mi dea ca pe b-hood daca se poate sa mi dea aceeasi bani ? ma poate ajuta cineva? gen sa fie ca pe b hood economia.
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now