26.09.2012, 18:39
Hay der!
So i want to script my first FS it will be a simple command wich says someone has asked for airsupport can i have some help? here is what i got:
This me this problem:
More info: i use zcmd!
Edit: added more info.
So i want to script my first FS it will be a simple command wich says someone has asked for airsupport can i have some help? here is what i got:
Код:
// Jasons bombing request script!//
#define FILTERSCRIPT
#include <a_samp>
#include <zcmd>
/*** Colors ***/
#define COLOR_GREEN 0x008000FF
#define COLOR_BLUE 0x0000FFFF
#define COLOR_BRIGHTRED 0xFF000AAA
#define COLOR_AQUA 0x00FFFFAA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_BEIGE 0xFFF8DCAA
#define COLOR_BLACK 0x000000AA
#define COLOR_LIGHTERBLUE 0x00BFFFAA
#define COLOR_BLUELIGHT 0x1E90FFAA
#define COLOR_BLUEMEDIUM 0x0000CDAA
#define COLOR_BLUEDARK 0x00008BAA
#define COLOR_PINK 0xFF1493AA
#define COLOR_PINKDARK 0xFF00FFAA
#define COLOR_GREENLIGHT 0x00FF00AA
#define COLOR_GREENDARK 0x006400AA
#define COLOR_MAROON 0x800000AA
#define COLOR_OKER 0x808000AA
#define COLOR_ORANGE 0xFF4500AA
#define COLOR_ORANGELIGHT 0xFF8C00AA
#define COLOR_PURPLE 0x800080AA
#define COLOR_VIOLETDARK 0x9400D3AA
#define COLOR_INDIGO 0xAB0082AA
#define COLOR_RED 0xFF0000AA
#define COLOR_SAND 0xFFDEADAA
#define COLOR_SILVER 0xC0C0C0AA
#define COLOR_TEAL 0x008080AA
#define COLOR_WHITE 0xFFFFFFAA
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Jasons Bombing Requests");
print("--------------------------------------\n");
return 1;
}
CMD:airsupport
{
SendClientMessageToAll(0x00FFFFAA, " Support has been called in, take cover!!!");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
Код:
C:\Users\Volkers\Desktop\ie4mp\filterscripts\BombRequest.pwn(45) : error 010: invalid function or declaration C:\Users\Volkers\Desktop\ie4mp\filterscripts\BombRequest.pwn(47) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
Edit: added more info.

