AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   why wont it compile? (https://forums.alliedmods.net/showthread.php?t=64526)

Checkmarks 12-17-2007 17:16

why wont it compile?
 
Code:

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "HELP ME"
#define VERSION "1.0"
#define AUTHOR "Checkmarks"


public plugin_init()
{
  register_plugin(PLUGIN, VERSION, AUTHOR)
  register_clcmd("helpa","helpa")
  register_clcmd("helpb","helpb")
  register_clcmd("helph","helph")
  register_clcmd("helpts","helpts")
  register_clcmd("helpcs","helpcs")
}

public helpa(id)
{
  client_print(id,print_chat,"I Need Backup @ Bombsite A!");
}

public helpb(id)
{
  client_print(id,print_chat,"I Need Backup @ Bombsite B!");
}

public helph(id)
{
  client_print(id,print_chat,"I Need Backup @ The Hostages!");
}

public helpts(id)
{
  client_print(id,print_chat,"I Need Backup @ T's Spawn!");
}

public helpcs(id)
{
  client_print(id,print_chat,"I Need Backup @ CT's Spawn!");
}


I used the online compiler (I don't have amxx currently installed yet) and it says failed to compile
What's wrong? :o

Arkshine 12-17-2007 17:18

Re: why wont it compile?
 
I've tested and it compiles without problem with the online compiler... :roll:

Checkmarks 12-17-2007 17:24

Re: why wont it compile?
 
Can you please give me the .amxx?
For some reason it still will not seem to compile... And yah it's in .sma form
Weird :P

Checkmarks 12-17-2007 18:20

Re: why wont it compile?
 
Bump ~ Anybody? Still not working.

Arkshine 12-17-2007 18:28

Re: why wont it compile?
 
Wow.

It's not hard to copy-paste a piece of code. :?

What are the errors exactly?

Checkmarks 12-17-2007 18:53

Re: why wont it compile?
 
Okay for some odd reason, when I copy/pasted it into the box and hit compile it worked. It didn't work when I tried to upload the .sma file though. I double checked, and the .sma contains exactly what the thing i copied had..
Weird ><

Arkshine 12-17-2007 18:57

Re: why wont it compile?
 
Attach the sma here.

Checkmarks 12-17-2007 19:04

Re: why wont it compile?
 
I uploaded my plugin in new plugins, get it there ;)

Zenith77 12-18-2007 18:08

Re: why wont it compile?
 
Quote:

Originally Posted by Checkmarks (Post 564351)
I uploaded my plugin in new plugins, get it there ;)

You also didn't even bother to test it.


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

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