[QUESTION] Cuff Breaking
#4

Well you said you want a random breakout, so do a timer when he tries to make a /breakcuffs command of something like that

and on the randoms where id id

Switch(cuffbreak)
{
case 0: code of broke cuffs


if the random is == 0 do like cuffed[playerid] == 0, SendClientMessage(playerid,COLOR,"You have successfully broke the cuffs, run before the cop see's it.");

so:

pawn Код:
new cuffbreak = random(5);
switch (cuffbreak)
{
case 0: cuffed[playerid] == 0, SendClientMessage(playerid,COLOR,"You have successfully broke the cuffs, run before the cop see's it.");
case 1: return SendClientMessage or something you want..
case 2: return SendClientMessage or something you want..
case 3: return SendClientMessage or something you want..
case 4: return SendClientMessage or something you want..
}
}

Reply


Messages In This Thread
[QUESTION] Cuff Breaking - by Quicky1995 - 14.05.2010, 08:29
Re: [QUESTION] Cuff Breaking - by 0ne - 14.05.2010, 08:32
Re: [QUESTION] Cuff Breaking - by Quicky1995 - 14.05.2010, 08:37
Re: [QUESTION] Cuff Breaking - by 0ne - 14.05.2010, 08:40
Re: [QUESTION] Cuff Breaking - by Quicky1995 - 14.05.2010, 08:50
Re: [QUESTION] Cuff Breaking - by [MWR]Blood - 14.05.2010, 08:52
Re: [QUESTION] Cuff Breaking - by Quicky1995 - 14.05.2010, 08:53
Re: [QUESTION] Cuff Breaking - by 0ne - 14.05.2010, 08:54
Re: [QUESTION] Cuff Breaking - by Quicky1995 - 14.05.2010, 09:10

Forum Jump:


Users browsing this thread: 1 Guest(s)