SA-MP Forums

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

 
 
Thread Tools Display Modes
Old 22/11/2010, 11:30 AM   #1
Kyle
High-roller
 
Kyle's Avatar
 
Join Date: Mar 2009
Location: United Kingdom
Posts: 2,391
Reputation: 319
Default Zone, X,Y,Z Problem

EDIT2: Works now, Sorry for any inconveniance.

Last edited by Kyle; 22/11/2010 at 11:57 AM.
Kyle is offline  
Old 22/11/2010, 11:47 AM   #2
Y_Less
Beta Tester
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 15,205
Reputation: 3178
Default Re: Zone, X,Y,Z Problem

Could you post your enum please? Also, why would people leave because of "pastebin"?

Also, the indentation problem is caused by Pawno's wierd (though consistent) use of both tabs and four spaces, whereas most browsers set a tab to the same as eight spaces. Either use a different editor or type code first THEN indent it - don't press enter then tab as that will use spaces instead of tabs.
Y_Less is offline  
Old 22/11/2010, 11:50 AM   #3
Kyle
High-roller
 
Kyle's Avatar
 
Join Date: Mar 2009
Location: United Kingdom
Posts: 2,391
Reputation: 319
Default Re: Zone, X,Y,Z Problem

Quote:
Originally Posted by Y_Less View Post
Could you post your enum please? Also, why would people leave because of "pastebin"?

Also, the indentation problem is caused by Pawno's wierd (though consistent) use of both tabs and four spaces, whereas most browsers set a tab to the same as eight spaces. Either use a different editor or type code first THEN indent it - don't press enter then tab as that will use spaces instead of tabs.
EDIT: Let me have a look.

EDIT2: Works now, Sorry for any inconveniance.
Kyle is offline  
Old 22/11/2010, 11:54 AM   #4
Y_Less
Beta Tester
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 15,205
Reputation: 3178
Default Re: Zone, X,Y,Z Problem

pawn Code:
zones[zoneid][zone_minx]

"zone_minx" is most likely a symbolic name for an array slot - these are most commonly defined by enums.
Y_Less 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
Problem with the color of a gang zone LTomi Help Archive 3 29/04/2010 01:44 PM
Problem with Gang Zone [HELP!] Holnista Help Archive 6 28/03/2010 08:27 PM
Gang Zone problem Anwix Help Archive 10 13/02/2010 06:28 PM
Zen Zone Problem T.I. Help Archive 5 28/04/2009 09:53 AM


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


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