28.12.2010, 10:11
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;
}"
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;
}"