robbank
#1

hello
I want to do /robbank but not when 10 members of the PD, the FBI and others. For those who want to /robbank to come:

"You can not be hacked this bank! There 10 members of the PD, the FBI. Non FP is not hacked"
Reply
#2

Not all scripts are the same, which script are you using?
Reply
#3

Код:
if(strcmp(cmd, "/robbank", true) == 0)
	{
	    new success = random(2);
/    if(BankRobbedRecently == 1)
		{
		    SendClientMessage(playerid, COLOR_GREY, "* This bank has been robbed, try later");
		    return 1;
		}
		if(PlayerInfo[playerid][pRobTime] >= 1)
		{
		    SendClientMessage(playerid, COLOR_GREY, "*Already tried to rob bank, please wait");
		    return 1;
		}
	    if(IsPlayerInRangeOfPoint(playerid, 2, 2309.6060,-4.0211,26.7422))
	    {
	        if(GetPlayerWeapon(playerid) >= 24 && GetPlayerWeapon(playerid) <= 40)
			{
		        if(PlayerInfo[playerid][pDuty] == 0)
				{
			        if(success == 1)
					{
				        SendClientMessage(playerid, COLOR_ORANGE, "* Rob bank, stay on CP 95 seconds!");
	                    RobbingTime[playerid] = 95;
						RobBankTimer = SetTimerEx("RobBank",1000,true,"i",playerid);
			            WantedPoints[playerid] = 5;
			            SetPlayerCriminal(playerid,255, "Robbank");
			            PlayerInfo[playerid][pRobTime] = 900;
			            CityHallRobbedRecently = 1;
						SetTimer("UnsetBankRob",1500000,false);
						OnePlayAnim(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0); // Rob Lookout
					}
					else
					{
					    SendClientMessage(playerid, COLOR_ORANGE, "* Failed to rob bank");
					    WantedPoints[playerid] = 2;
			            SetPlayerCriminal(playerid,255, "Robbing banks");
						PlayerInfo[playerid][pRobTime] = 500;
					}
				}
				else
				{
				    SendClientMessage(playerid, COLOR_GREY, "* You must have a duty !!");
				    return 1;
				}
			}
			else
			{
			    SendClientMessage(playerid, COLOR_GREY, "* You need a weapon that can kill the criminals! ! ");
			    return 1;
			}
		}
		else
		{
Reply
#4

-.- Someone will help you eventually, I have no time otherwise I would.
Reply
#5

Quote:
Originally Posted by srcka<
Посмотреть сообщение
"You can not be hacked this bank! There 10 members of the PD, the FBI. Non FP is not hacked"
Off topic but if you're going to make something, have better grammar and make more sense.
"You can not be hacked this bank" Don't you mean "You can not rob this bank"? also, it wouldn't be there, it would be they're (Well by the way it looks like you're saying that stuff)

I'm not being mean or that, I'm helping you out. I'd never play on a server if the grammar was that bad.
Reply
#6

my cmd is on Macedonian but i have bad english and i translate that do yo want to help me ?
Reply
#7

Use [.pawn][/.pawn] tags
Reply
#8

here is the cmd in
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)