SA-MP Forums Archive
How to add this to my gamemode? - 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: How to add this to my gamemode? (/showthread.php?tid=459700)



How to add this to my gamemode? - QatarKnight - 24.08.2013

I want to add a gang system to my gamemode but if i just copy + paste it i get already defined pInfo and index out of array "PlayerInfo". And i can't leave the gang system as a filterscript because then the dialogs won't work. Is there something i can use like y_hooks but for pInfo.


Re: How to add this to my gamemode? - RedJohn - 24.08.2013

You dialogs may not be working because of same dialogs IDs in your gamemode and that filterscript.

Change your dialogs IDs in your filterscript to something unusual. Example: 1302; 1524 or something like that.


Re: How to add this to my gamemode? - QatarKnight - 24.08.2013

Quote:
Originally Posted by RedJohn
Посмотреть сообщение
You dialogs may not be working because of same dialogs IDs in your gamemode and that filterscript.

Change your dialogs IDs in your filterscript to something unusual. Example: 1302; 1524 or something like that.
You won't believe how many times i had that answer. And how many times i tried it with no use. Pickups don't even work as filterscript they start taking pickups from the gamemode and they don't have the same ID.