Author Topic: How to compile modes? - PLEASE HELP  (Read 3171 times)

0 Members and 1 Guest are viewing this topic.

Offline Kenway

  • Street Thug
  • *
  • Posts: 7
    • View Profile
How to compile modes? - PLEASE HELP
« on: May 02, 2012, 07:25:40 pm »
Well, I have added some simple commands to the game mode I'm using, but it doesn't work.
I'm pretty sure I have to compile it first, but IDK why.
Can you please help me?
Thanks

PS: like, if I change !heal command to something else, it still uses !heal even I have removed it from the mode.

Offline GUnitSoldier

  • Street Thug
  • *
  • Posts: 1
    • View Profile
Re: How to compile modes? - PLEASE HELP
« Reply #1 on: May 18, 2012, 12:30:36 pm »
Maybe you've forgot to re-compile your script
Compile is not "saving" script file. What program do you use to edit scripts?
« Last Edit: May 18, 2012, 12:43:48 pm by GUnitSoldier »

Offline Morphine

  • Made Man
  • ***
  • Posts: 109
    • View Profile
Re: How to compile modes? - PLEASE HELP
« Reply #2 on: May 18, 2012, 07:10:14 pm »
I think you press F5 to compile something in PAWNO.  ::)

Offline LisKa

  • Street Thug
  • *
  • Posts: 8
  • Pawn, Squirrel Scripter [Owner of Vice-Role Play]
    • View Profile
    • Vice-Role Play Server
Re: How to compile modes? - PLEASE HELP
« Reply #3 on: June 08, 2012, 08:08:18 pm »
Brief Explanation:

                             The computer obviously needs machine language to understand what we are saying. The vcmp server scripts need machine code/language to understand that what functions we are putting! But we type these things in our language. So the pawno compiler is a software or you can say a program, that translates our language to machine's one! Now the server will only see the mode.amx file. Even if you delete the mode.pwn file then the server and the script will still run.
understand? when you have made changes to the script in mode.pwn then you will have to compile it! so that the server could read and understand the language/functions/commands etc...

[Specially made easy for easily understanding]

Offline Morphine

  • Made Man
  • ***
  • Posts: 109
    • View Profile
Re: How to compile modes? - PLEASE HELP
« Reply #4 on: June 08, 2012, 08:35:26 pm »
Why so many posts man? Post-whoring isn't cool at all. :c

Offline LisKa

  • Street Thug
  • *
  • Posts: 8
  • Pawn, Squirrel Scripter [Owner of Vice-Role Play]
    • View Profile
    • Vice-Role Play Server
Re: How to compile modes? - PLEASE HELP
« Reply #5 on: June 09, 2012, 07:01:06 am »
Why so many posts man? Post-whoring isn't cool at all. :c

Actually he forgot to compile but now he knows. Can somebody lock this topic aa'n... ?