SA-MP Forums Archive
hitsound samp - 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: hitsound samp (/showthread.php?tid=640338)



hitsound samp - Hiei - 01.09.2017

public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
PlayerPlaySound(playerid, 17802, 0.0, 0.0, 0.0);
return 1;
}
i want this can on/off in DIALOG_STYLE_LIST
anyone can help me ? I'm Newbie


Re: hitsound samp - RahimBashovski - 01.09.2017

This is pretty simple, although you need to create a bool global variable that can be stored in ini file nor in sql table. Basically, you only need to determine variable value that is true or false by adding symbol =.

No one will write you codes, look for solution on wiki.

Also, try to learn making dialogs.