[Tutorial] How To Script On Mac OS X
#1

Hello,

Last Time I made a tutorial in which I showed you how to install the SA-MP client for Mac OS X ,this tutorial will show you a way to script on Mac OS X.First Of All, here are the things that you will be needing to make this work.

Requirements
===========
-Mac OS X 10.6.4 Snow Leopard (Genuine Not Hackintosh)
- X-Code 3.2.5 Or Higher (Not Recommending X-Code 4)

If you have already downloaded the samp server (windows edition),then skip this step.

-Download the samp server for windows at http://www.sa-mp.com/download.php
-Next, open X-Code and create a new project
-After That,Close the new project out and then click 'File' at the top and then click 'Open'
-Go to downloads and to the samp server for windows folder in the selection.
-find the 'Pawno' folder in the samp folder and click it,then double click new.pwn
-You should see something like this ,but this is an include running in X-Code ,but the .pwn files open up on there too:

-If you get an x-code window similar or exactly like this ,you have done this tutorial properly.
-Please Take Note that x-code WILL NOT compile .pwn or .inc files.
-The Main Point Of This Tutorial is for people who use mac often that need something they can script pawn files or make includes on with a unix based system.
-I hope this tutorial works for you!

Extra Information About Compilation - The reason X-Code will not compile .pwn is because it is not a compiler made for that type of code and the .inc files will not compile because it is C++ and will also, not compile.X-Code was meant for developing applications in Objective -C ,so it can still be used like a Notepad++ like application for mac.This is an example of something X-Code would actually compile:

"-(BOOL)shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation)interfaceOrientation
{
return YES;
}"
Reply


Messages In This Thread
How To Script On Mac OS X - by MacOSXFan - 28.12.2010, 10:11
Re: How To Script On Mac OS X - by Fool - 28.12.2010, 11:40
Re: How To Script On Mac OS X - by Dr.Ghost - 28.12.2010, 12:46
Re: How To Script On Mac OS X - by _rAped - 28.12.2010, 14:08
Re: How To Script On Mac OS X - by MacOSXFan - 28.12.2010, 14:23
Re: How To Script On Mac OS X - by HyperZ - 28.12.2010, 14:59
Re: How To Script On Mac OS X - by X35B - 29.12.2010, 02:11
Re: How To Script On Mac OS X - by Hal - 29.12.2010, 02:16
Re: How To Script On Mac OS X - by Steven82 - 29.12.2010, 16:41
Re: How To Script On Mac OS X - by _rAped - 29.12.2010, 22:34
Re: How To Script On Mac OS X - by jomadi123 - 30.12.2010, 13:35
Re: How To Script On Mac OS X - by MacOSXFan - 30.12.2010, 14:36

Forum Jump:


Users browsing this thread: 2 Guest(s)