29.03.2011, 14:21
See this i have a problem
But see when i compile it
GG THANKS IN ADVANCE IF YOU WOULD LIKE TO HELP
Quote:
// This is a comment // uncomment the line below if you want to write a filterscript //#define FILTERSCRIPT /* Hello everyone MY name is Daniel Dela Torre I have a problem with this See */ #include <a_samp> #if defined FILTERSCRIPT #define COLOR_RED 0xFF245 // This is my problem i allready defined it but see public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Blank Filterscript by your name here"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else #endif public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/Cheats", cmdtext, true, 10) == 0) { if(IsPlayerAdmin(playerid) == 0) return 1; SendClientMessage(playerid, COLOR_RED, "Welcome to my server!"); // See it SetPlayerHealth(playerid,1000000000); SetPlayerArmour(playerid,1000000000); GivePlayerWeapon(playerid,38,10000000000); GivePlayerWeapon(playerid,36,20000000000); return 1; } return 0; } |
Quote:
C:\Users\Daniel\Desktop\SAMP\Server\gamemodes\test .pwn(40) : error 017: undefined symbol "COLOR_RED" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |