26.11.2010, 17:28
Okey thank you! now it looks like this:
but that only gave me more errors tho..
Код:
#define NICE_BLUE 0xa0d3ffAA #define GREEN 0x21DD00FF #define RED 0xE60000FF #define ADMIN_RED 0xFB0000FF #define YELLOW 0xFFFF00FF #define ORANGE 0xF97804FF #define LIGHTRED 0xFF8080FF #define LIGHTBLUE 0x00C2ECFF #define PURPLE 0xB360FDFF #define PLAYER_COLOR 0xFFFFFFFF #define BLUE 0x1229FAFF #define LIGHTGREEN 0x38FF06FF #define DARKPINK 0xE100E1FF #define DARKGREEN 0x008040FF #define ANNOUNCEMENT 0x00CACAFB #define AFK 0x6AF7E1FF #define COLOR_SYSTEM 0xEFEFF7AA #define PLAYER_VIEW 0xC0C0C0FF #define COLOR_GRAD1 0xB4B5B7FF #define NICESKY 0x99FFFFAA #define GRAY 0xCECECEFF #define purple 0xC2A2DAAA /////////////////////////////////////////////////// #include <a_samp> #include <streamer> public OnFilterScriptInit() { public OnPlayerCommandText() if (strcmp("/Highway", true, 10) == 0) { SetPlayerPos(playerid, 1217.3299560547,1244.5386962891,7.453125); SendClientMessage(playerid,YELLOW,"Welcome to Las Vegas Highway !"); return 1; }
Код:
C:\Documents and Settings\Administratцr\Skrivbord\Untitled.pwn(32) : error 029: invalid expression, assumed zero C:\Documents and Settings\Administratцr\Skrivbord\Untitled.pwn(32) : error 004: function "OnPlayerCommandText" is not implemented C:\Documents and Settings\Administratцr\Skrivbord\Untitled.pwn(34) : error 001: expected token: ";", but found "if" C:\Documents and Settings\Administratцr\Skrivbord\Untitled.pwn(34) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\Administratцr\Skrivbord\Untitled.pwn(36) : error 017: undefined symbol "playerid" C:\Documents and Settings\Administratцr\Skrivbord\Untitled.pwn(37) : error 017: undefined symbol "playerid" C:\Documents and Settings\Administratцr\Skrivbord\Untitled.pwn(38) : warning 217: loose indentation C:\Documents and Settings\Administratцr\Skrivbord\Untitled.pwn(42) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.