Stevo127's script need help
#1

I am using stevos script and he have done so /cuff , /ar , /rape /rob and so on must be used by id , for example /cuff 34 , /ar 34 . I wanna make so it cuffs/arrests/robs and rapes the person that is close to you.

And another thing when you start a robbery the time shows in a dialog box that you cant close its really annoying is it anyway that you can make it to seconds poping in the screen instead? like 34 , 33 instead of a box.

Would be very glad if someone could help out !
Reply
#2

For /cuff and stuff, use IsPlayerInRangeOfPoint function.

And for the timer, remove the dialog box and use GameTextForPlayer function
Reply
#3

Use for loop and get closest distance player and just remove showplayerdialog to gametextforplayer in robbing timer.
Reply
#4

Okey thank guys but should i put it here dcmd_cuff(playerid,params[])
{
new string[128];
new ID;
if(sscanf(params, "u", ID))
{
SendClientMessage(playerid,COLOR_ERROR,"USAGE: /cuff (Player Name/ID)");
return 1;



The cuff thing or where?
Reply
#5

Yeah put it here.

Fuck this shit!
Quote:

This forum requires that you wait 120 seconds between posts. Please try again in 3 seconds.

Reply
#6

ANd i dont need to remove anything just put it under that shit ?
Reply
#7

format(string,sizeof(string),"Robbing Burger Shot.\nFinish Robbery in: %d seconds.\nPolice are on the way.",RobbingGarciaBurgerShot[playerid]);
ShowPlayerDialog(playerid,DIALOG_BURGERSHOT,DIALOG _STYLE_MSGBOX,"{FF0000}Burger Shot Robbery",string,"Ok","Cancel");

This is how robbery looks , Should replace all dialog with , gametextforplayer? or just the showplayerdialog
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)