Help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help (
/showthread.php?tid=514216)
Help -
JakeHunter1 - 20.05.2014
I am trying to made a police enqipment and allways getting error on ondialogresponse can somone made ondialogresponse for me ?
Код:
CMD:duty(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 326.9761,307.0905,999.1484))
{
ShowPlayerDialog(playerid, DIALOG_DUTY, DIALOG_STYLE_LIST, "PoliceDepartment Enqimpent", "Weapons\nUniformes", "Kupi", "Izlezi");
}
else SendClientMessage(playerid, 0x46E850FF, "Ne ste na mestoto kade sto se zima oprema.!");
return 1;
}
Okey i want on weapons dialog with 9mm , deagle , rifle , shotgun , sniper..
on uniformes i want a dialog the first need to be Uniform 1 , Unifor 2 , Unifor 3 , Unifor 4 , uniform 5
on uniform 1 the skin change in 280 , 2 - 281 , 3 - 282 , 4 - 283 and 5 -285
Re: Help -
Rittik - 20.05.2014
What error do you face while compiling ?
Re: Help -
JakeHunter1 - 20.05.2014
Quote:
Originally Posted by Rittik
What error do you face while compiling ?
|
a lot of errors :S i don't now to script alot in zcmd i've started scriptin in zcmd 2days ago :S
Re: Help -
AndySedeyn - 20.05.2014
You are missing some brackets.
pawn Код:
CMD:duty(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 326.9761,307.0905,999.1484))
{
ShowPlayerDialog(playerid, DIALOG_DUTY, DIALOG_STYLE_LIST, "PoliceDepartment Enqimpent", "Weapons\nUniformes", "Kupi", "Izlezi");
}
else
{
SendClientMessage(playerid, 0x46E850FF, "Ne ste na mestoto kade sto se zima oprema.!");
}
return 1;
}
Requesting scripts shouldn't be done in this section.
Re: Help -
JakeHunter1 - 20.05.2014
Quote:
Originally Posted by Bible
You are missing some brackets.
pawn Код:
CMD:duty(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid, 3.0, 326.9761,307.0905,999.1484)) { ShowPlayerDialog(playerid, DIALOG_DUTY, DIALOG_STYLE_LIST, "PoliceDepartment Enqimpent", "Weapons\nUniformes", "Kupi", "Izlezi"); } else { SendClientMessage(playerid, 0x46E850FF, "Ne ste na mestoto kade sto se zima oprema.!"); } return 1; }
Requesting scripts shouldn't be done in this section.
|
Where to request ?
Re: Help -
doreto - 20.05.2014
Quote:
Originally Posted by JakeHunter1
Where to request ?
|
https://sampforum.blast.hk/showthread.php?tid=447813
Re: Help -
JakeHunter1 - 20.05.2014
Quote:
Originally Posted by doreto
|
All are closed
Re: Help -
JakeHunter1 - 22.05.2014
bump !
Re: Help -
iFiras - 22.05.2014
Just post your errors.
Re: Help -
rappy93 - 22.05.2014
Quote:
Originally Posted by Bible
You are missing some brackets.
pawn Код:
CMD:duty(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid, 3.0, 326.9761,307.0905,999.1484)) { ShowPlayerDialog(playerid, DIALOG_DUTY, DIALOG_STYLE_LIST, "PoliceDepartment Enqimpent", "Weapons\nUniformes", "Kupi", "Izlezi"); } else { SendClientMessage(playerid, 0x46E850FF, "Ne ste na mestoto kade sto se zima oprema.!"); } return 1; }
Requesting scripts shouldn't be done in this section.
|
Did you try this ?