Raised This Month: $12 Target: $400
 3% 

[TUT] How to type in PHP Code & Pawn!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
enjoi.
Veteran Member
Join Date: Mar 2011
Old 10-08-2011 , 09:21   [TUT] How to type in PHP Code & Pawn!
Reply With Quote #1

PHP Code & Pawn v2.2 by dINk

Reason Made :
Because I think a lot of new members need help on PHP Code & Pawn and hope they would find this very interesting to use. When I first joined, when i were a 'noob here' i couldnt find any guides on, how to do PHP & Code, and without making any errors.

What is this thread good for?
This will help you learn how to post your scripts in PHP Code & Pawn, lets go start on how to make PHP Code and PAWN Posts


PHP :
Good to do because it is easier to read the the text using PHP because it is colored.
Code:
To do this type
Code:
[php]Code Here[/php]
Now lets try!
PHP Code:
 #include <amxmodx> 
It Works!


Usually I recommend using this for text from txt documents, config files, etc. .
Code:
To do this its pretty much the same thing.
Code:
[code]Code Here[/code]
Now lets try!
Code:
 #include <colorchat>
It Works!


Pawn is almost the same thing accept it has Syntax Highlighting. It will say its code but it will have Syntax Highlighting
Code:
To do this its almost the same thing as code but has Syntax Highlighting. [pawn]Code Here[/pawn]
Now lets try!
Code:
#include <chatcolor>
It Works!






Credits For Making Guide:
- Me (Making the PHP and Code! and made this thread)
- HBxander (Taking his layout from his ColorChat Tutorial!) THANKS MAN!
- nikhilgupta345 Teaching me noparse andmaking it better. And mentioned a Code Error. Request
- Xellath Teaching me how to do pawn and requesting.

Extra Notes
Don't spam my thread and say this tutorial blows. This is my first tutorial. I tried my best
dINk - Me (My Steam Name)

Please tell me if I did something wrong like misspelled a word or something and I'll fix it. Hope you enjoy!
__________________
Block Maker v6.0 []
Point Slay v3.0 []
Contact [ PM ]

Last edited by enjoi.; 10-09-2011 at 08:18.
enjoi. is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-08-2011 , 09:26   Re: [TUT] How to type in PHP & Code!
Reply With Quote #2

https://forums.alliedmods.net/misc.php?do=bbcode
__________________
Arkshine is offline
enjoi.
Veteran Member
Join Date: Mar 2011
Old 10-08-2011 , 09:27   Re: [TUT] How to type in PHP & Code!
Reply With Quote #3

I know that but as I said I just saw like two threads some guy posting there code without no php/code and its a long one. That's why I decided to make this tutorial. At first I didn't even know about that page
__________________
Block Maker v6.0 []
Point Slay v3.0 []
Contact [ PM ]
enjoi. is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 10-08-2011 , 09:57   Re: [TUT] How to type in PHP & Code!
Reply With Quote #4

Easier

[php]Your Code Here[/php]

shows

PHP Code:
Your Code Here 

and

[code]Your code here[/code]

shows

Code:
Your code here
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
enjoi.
Veteran Member
Join Date: Mar 2011
Old 10-08-2011 , 10:07   Re: [TUT] How to type in PHP & Code!
Reply With Quote #5

PHP Code:
Your Code Here 
I just did what you said and it printed like that. The first one by the way.
__________________
Block Maker v6.0 []
Point Slay v3.0 []
Contact [ PM ]
enjoi. is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 10-08-2011 , 10:11   Re: [TUT] How to type in PHP & Code!
Reply With Quote #6

Quote:
Originally Posted by enjoi. View Post
PHP Code:
Your Code Here 
I just did what you said and it printed like that. The first one by the way.
Yup that's what it's supposed to be like.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
enjoi.
Veteran Member
Join Date: Mar 2011
Old 10-08-2011 , 10:12   Re: [TUT] How to type in PHP & Code!
Reply With Quote #7

I know but some people don't know how to do it so thats why I did it with like the spaces since I can't type it like how you did or it wouldnt be explaining. If I could I would
Edit how did you make it show the phps?
__________________
Block Maker v6.0 []
Point Slay v3.0 []
Contact [ PM ]
enjoi. is offline
Nike24
Member
Join Date: Oct 2011
Old 10-08-2011 , 10:29   Re: [TUT] How to type in PHP & Code!
Reply With Quote #8

Great tutorial!
Nike24 is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 10-08-2011 , 10:29   Re: [TUT] How to type in PHP & Code!
Reply With Quote #9

[noparse][php]Code Here[/php][/noparse]
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
enjoi.
Veteran Member
Join Date: Mar 2011
Old 10-08-2011 , 10:29   Re: [TUT] How to type in PHP & Code!
Reply With Quote #10

Ahh thank you nikhilgupta. Ill put you in credits.
__________________
Block Maker v6.0 []
Point Slay v3.0 []
Contact [ PM ]
enjoi. is offline
Reply


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

Forum Jump


All times are GMT -4. The time now is 11:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode