Stevo127's script need help -
maho422 - 02.01.2013
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 !
Re: Stevo127's script need help -
Faisal_khan - 02.01.2013
For /cuff and stuff, use
IsPlayerInRangeOfPoint function.
And for the timer, remove the dialog box and use
GameTextForPlayer function
Re: Stevo127's script need help -
RedCrossER - 02.01.2013
Use for loop and get closest distance player and just remove showplayerdialog to gametextforplayer in robbing timer.
Re: Stevo127's script need help -
maho422 - 02.01.2013
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?
Re: Stevo127's script need help -
Faisal_khan - 02.01.2013
Yeah put it here.
Fuck this shit!
Quote:
This forum requires that you wait 120 seconds between posts. Please try again in 3 seconds.
|
Re: Stevo127's script need help -
maho422 - 02.01.2013
ANd i dont need to remove anything just put it under that shit ?
Re: Stevo127's script need help -
maho422 - 02.01.2013
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