26.01.2017, 20:58
create a new file called
objects.pwn and put it in includes folder
go to top of you script and add
and add in OnGameModeInit
objects.pwn and put it in includes folder
PHP код:
forward OnMapsInit();
public OnMapsInit()
{
/* Objects here */
}
PHP код:
#include <objects.pwn>
PHP код:
public OnGameModeInit()
{
OnMapsInit();
}
