crazyzee Posted March 31, 2013 Posted March 31, 2013 Salut inca odata , vreau ca orice player sa poata da robbank sa numai ceara obligatoriu skill .Ce trebuie sa modific si cum ... RPG.VIBEPLAY.RORecomand acest server Romanesc bY woozie aka. weedluver aka. undertaker !!
Staff Posted March 31, 2013 Posted March 31, 2013 Aratane acest script daca vrei ajutor...E foarte simplu stergi conditia in care iti cere [skill].Comanda /robbank posteaz-o . [glow=blue,2,300]SAMP.[glow=yellow,2,300]RSP-GAME[glow=red,2,300].NET[/glow][/glow][/glow]
D@rksone Posted March 31, 2013 Posted March 31, 2013 Posteaza comanda /robbank ca sa te putem rezolva :! Rareori ne gândim la ceea ce avem, dar mereu la ceea ce ne lipseşte
crazyzee Posted March 31, 2013 Author Posted March 31, 2013 Scz. pentru intarziere....[pawn]if(strcmp(cmd, "/robbank", true) == 0) { if(PlayerToPoint(3, playerid,2315.4534,-0.8274,26.7422)) { if(PlayerInfo[playerid][pRob] < 20) { SendClientMessage(playerid, COLOR_YELLOW, "You don't have enought Rob Skill to robbank right now!"); return 1; } if(WantedPoints[playerid] > 0) { SendClientMessage(playerid, COLOR_YELLOW, "You cannot robbank while you have wanted!"); return 1; } if(PlayerInfo[playerid][pLocal] == 103) { } else { SendClientMessage(playerid, COLOR_GREY, "You are not in the bank!"); return 1; } new leader = PlayerInfo[playerid][pLeader]; new member = PlayerInfo[playerid][pMember]; if(member==1 || member==2 || member==3 || member==4 || member==7 || member==9 || member==10 || member==11) { SendClientMessage(playerid, COLOR_GREEN, "You are not a gang member !"); return 1; } else if(leader==1 || leader==2 || leader==3 || leader==4 || leader==7 || leader==9 || leader==10 || leader==11) { SendClientMessage(playerid, COLOR_LIGHTGREEN, "You cannot rob the Bank !"); return 1; } if(PlayerInfo[playerid][pLevel] < 4) { SendClientMessage(playerid, COLOR_LIGHTGREEN, " You must be level 4 to use this!"); return 1; } if(PlayerInfo[playerid][pRob] >= 15) { GetPlayerName(playerid, sendername, sizeof(sendername)); new level = PlayerInfo[playerid][pRobSkill]; new robmoney; if(level >= 0 && level <= 50) { robmoney = random(50000); GivePlayerMoney(playerid, robmoney); } else if(level >= 51 && level <= 100) { robmoney = random(75000); GivePlayerMoney(playerid, robmoney); } else if(level >= 101 && level <= 200) { robmoney = random(100000); GivePlayerMoney(playerid, robmoney); } else if(level >= 201 && level <= 400) { robmoney = random(125000); GivePlayerMoney(playerid, robmoney); } else if(level >= 400) { robmoney = random(150000); GivePlayerMoney(playerid, robmoney); } PlayerInfo[playerid][pRob] -= 15; PlayerInfo[playerid][pRobSkill] += 5; PlayerInfo[playerid][pCashStolen] = robmoney; if(PlayerInfo[playerid][pRobSkill] == 50) { SendClientMessage(playerid, COLOR_YELLOW, "* Your Rob Skill is now Level 2, you will earn more Money."); } else if(PlayerInfo[playerid][pRobSkill] == 100) { SendClientMessage(playerid, COLOR_YELLOW, "* Your Rob Skill is now Level 3, you will earn more Money."); } else if(PlayerInfo[playerid][pRobSkill] == 200) { SendClientMessage(playerid, COLOR_YELLOW, "* Your Rob Skill is now Level 4, you will earn more Money."); } else if(PlayerInfo[playerid][pRobSkill] == 400) { SendClientMessage(playerid, COLOR_YELLOW, "* Your Rob Skill is now Level 5, you will earn more Money."); } SendClientMessage(playerid, 0xFF0000FF, " You Have Robbed The Bank "); format(string, sizeof(string), "** HQ: The Bank in Los Santos has been robbed!!!!!. **", sendername); SendRadioMessage(1, COLOR_RED, string); WantedPoints[playerid] =20; SetPlayerCriminal(playerid,255, "Robbing the BANK!"); format(string,sizeof(string), "* %s points his gun at the clerk and attempts to rob the Bank.", sendername); SendClientMessage(playerid, COLOR_YELLOW, "You have been seen on the security cameras! Run away!"); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(string, sizeof(string), "** You have successfully stolen $%d!",robmoney); SendClientMessage(playerid,COLOR_YELLOW,string); GivePlayerMoney(playerid, robmoney); SetTimerEx("NFSCarTime", 20000, 0, "i", playerid); } } else { SendClientMessage(playerid, COLOR_GREY, "You are not in the bank at the door!"); return 1; } return 1; }[/pawn] RPG.VIBEPLAY.RORecomand acest server Romanesc bY woozie aka. weedluver aka. undertaker !!
Gireada Posted March 31, 2013 Posted March 31, 2013 Sterge asta [pawn]if(PlayerInfo[playerid][pRob] < 20) { SendClientMessage(playerid, COLOR_YELLOW, "You don't have enought Rob Skill to robbank right now!"); return 1; }[/pawn]
crazyzee Posted March 31, 2013 Author Posted March 31, 2013 Rezolvat , Merci Gireada ai un +1 ;) RPG.VIBEPLAY.RORecomand acest server Romanesc bY woozie aka. weedluver aka. undertaker !!
Question
crazyzee
Salut inca odata , vreau ca orice player sa poata da robbank sa numai ceara obligatoriu skill .
Ce trebuie sa modific si cum ...
RPG.VIBEPLAY.RO
Recomand acest server Romanesc bY woozie aka. weedluver aka. undertaker !!
5 answers to this question
Recommended Posts