Problem with OnDialogResponse and (%)
#5

TIP: If you don't wanna use hooks, in your main gamemode do in this way:

pawn Код:
#include "/Custom/system.pwn"
Place your callbacks in your system.pwn, then use them normally in your gamemode.

DON'T compile the system.pwn, just save it in your /gamemodes/Custom folder (or the name you choose).

Also be sure to not include normal callbacks already existent in your main script. (Such as OnPlayerDeath, OnPlayerSpawn etc. etc.)

I use this system to insert custom maps. I do like:

pawn Код:
CreateCustomMap()
{
//Code
}
then in my gm i only add: CreateCustomMap();

Useful if you have a lot of stocks and general publics/functions made by you.
Reply


Messages In This Thread
Problem with OnDialogResponse and (%) - by RedGun2015 - 30.09.2018, 14:49
Re: Problem with OnDialogResponse and (%) - by RedGun2015 - 01.10.2018, 15:49
Re: Problem with OnDialogResponse and (%) - by v1k1nG - 01.10.2018, 15:56
Re: Problem with OnDialogResponse and (%) - by RedGun2015 - 01.10.2018, 18:43
Re: Problem with OnDialogResponse and (%) - by KinderClans - 01.10.2018, 19:03
Re: Problem with OnDialogResponse and (%) - by v1k1nG - 01.10.2018, 19:03
Re: Problem with OnDialogResponse and (%) - by Banditul18 - 01.10.2018, 19:10
Re: Problem with OnDialogResponse and (%) - by d3Pedro - 01.10.2018, 21:26

Forum Jump:


Users browsing this thread: 1 Guest(s)