SA-MP Forums Archive
Need help with y_ini! [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: Need help with y_ini! [HELP!!] (/showthread.php?tid=398184)



Need help with y_ini! [HELP!!] - Jaanek - 08.12.2012

Hello forum.sa-mp.com users!

I have a problem with y_ini, at least i think so..
I made a gm with y_ini and now i have everywhere propertys and stuffs. (Ammunations and fast food places)
How can i remove them?
I am kind a sure that these things came with y_ini because only plugins i have are:
streamer and Whirlpool.
And only includes i have are:
#include <a_samp>
#include <YSI\y_ini>
#include <zcmd>

So how can i get rid of these enterable propertys? (U can buy food and weapons like in a single player game)


Re: Need help with y_ini! [HELP!!] - XProtocol - 08.12.2012

Are you using any property system fs?


Re: Need help with y_ini! [HELP!!] - Jaanek - 08.12.2012

Quote:
Originally Posted by [O]it_can_be
Посмотреть сообщение
Are you using any property system fs?
No, only these:
filterscripts FindIP WeaponHolder
Weaponholder puts ak/m4 on back if u dont use it and findip finds ips from ur text and kicks u if u want to advert another server.


Re: Need help with y_ini! [HELP!!] - XProtocol - 08.12.2012

Then check if you have property system integrated in your gm


Re: Need help with y_ini! [HELP!!] - Jaanek - 08.12.2012

Quote:
Originally Posted by [O]it_can_be
Посмотреть сообщение
Then check if you have property system integrated in your gm
No I dont have! Its gamemode made from nothing and i havent made it! Its from #include <YSI\y_ini> but if i remove it i cant use y_ini file saving stuff! How can i remove it?


Re: Need help with y_ini! [HELP!!] - XStormiest - 08.12.2012

i think you say about that Enter icon on some place on the map no?
fast food like Burger shot, Pizza and Chicken not?

if yes
add this under OnGameModeInit
Код:
   DisableInteriorEnterExits();
like
Код:
public OnGameModeInit()
{
    DisableInteriorEnterExits();
    //rest of code
    return 1;
}



Re: Need help with y_ini! [HELP!!] - Jaanek - 08.12.2012

Quote:
Originally Posted by XStormiest
Посмотреть сообщение
i think you say about that Enter icon on some place on the map no?
fast food like Burger shot, Pizza and Chicken not?

if yes
add this under OnGameModeInit
Код:
   DisableInteriorEnterExits();
like
Код:
public OnGameModeInit()
{
    DisableInteriorEnterExits();
    //rest of code
    return 1;
}
Thank you very much! I forgot it.