SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 08/12/2009, 12:43 PM   #1
Lajko1
High-roller
 
Join Date: Oct 2008
Posts: 1,235
Reputation: 17
Default Disable ?

why when i try to DisableInteriorExits or what ever it is i put this under OnGameModeInit but it say Error: Undefined symbol DisableInteriorExits ? why this o.O

ty
Lajko1 is offline  
Old 08/12/2009, 12:46 PM   #2
Balon
Big Clucker
 
Join Date: Oct 2007
Posts: 108
Reputation: 2
Default Re: Disable ?

From a_samp.inc.
pawn Code:
native DisableInteriorEnterExits(); // will disable all interior enter/exits in the game.
Balon is offline  
Old 08/12/2009, 12:49 PM   #3
Gappy
Huge Clucker
 
Gappy's Avatar
 
Join Date: Apr 2009
Posts: 493
Reputation: 16
Default Re: Disable ?

You have to add
pawn Code:
DisableInteriorEnterExits();

not just
pawn Code:
DisableInteriorEnterExits
__________________
Gappy is offline  
Old 08/12/2009, 12:55 PM   #4
Lajko1
High-roller
 
Join Date: Oct 2008
Posts: 1,235
Reputation: 17
Default Re: Disable ?

Quote:
Originally Posted by Gappy
You have to add
pawn Code:
DisableInteriorEnterExits();

not just
pawn Code:
DisableInteriorEnterExits
i know , ty for try

amm @where i put this native DisableInteriorEnterExits ? i try under gamemode init and still errors ... i try under on player connect and i get errors i try top of script no errors but dont work lol
Lajko1 is offline  
Old 08/12/2009, 12:58 PM   #5
Correlli
Godfather
 
Correlli's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 6,340
Reputation: 365
Default Re: Disable ?

All you have to do is this:
pawn Code:
public OnGameModeInit()
{
  DisableInteriorEnterExits();
  return 1;
}
Correlli is offline  
Old 08/12/2009, 02:10 PM   #6
Lajko1
High-roller
 
Join Date: Oct 2008
Posts: 1,235
Reputation: 17
Default Re: Disable ?

Quote:
Originally Posted by Don Correlli
All you have to do is this:
pawn Code:
public OnGameModeInit()
{
  DisableInteriorEnterExits();
  return 1;
}
i do but

Code:
C:\Documents and Settings\samp\Desktop\Server2\gamemodes\Jefferson.pwn(99) : error 017: undefined symbol "DisableInteriorEnterExits"
Lajko1 is offline  
Old 08/12/2009, 05:05 PM   #7
Malice
Big Clucker
 
Join Date: Jul 2007
Posts: 105
Reputation: 0
Default Re: Disable ?

Did you include a_samp?
Malice is offline  
Old 09/12/2009, 06:18 AM   #8
Lajko1
High-roller
 
Join Date: Oct 2008
Posts: 1,235
Reputation: 17
Default Re: Disable ?

ye ofc,any other help ?
Lajko1 is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable ammunations aNdReSk Help Archive 5 08/07/2010 10:57 PM
How do i disable this... YoungMoolaBaby.2010 Help Archive 1 20/03/2010 01:00 PM
how to disable this. `FuTuRe- Help Archive 2 24/01/2010 12:43 PM
disable pms? UNCLEMURDA Help Archive 2 30/07/2009 07:38 AM
How to disable /tpm and /pm? Shellegg Help Archive 8 15/06/2009 08:30 PM


All times are GMT. The time now is 01:36 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.