18.02.2010, 15:22
i get this error when i compile
here's the all script
Код:
\\DOWNLOADS\server\filterscripts\clantag.pwn(14) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
// This is a comment // uncomment the line below if you want to write a filterscript #define FILTERSCRIPT #include <a_samp> stock HasClanTag(playerid,const clantag[]) { new clan_tag[10],lname[MAX_PLAYER_NAME]; GetPlayerName(playerid,lname,sizeof lname); format(clan_tag,strlen(clantag)+2,"[%s]",clantag); return (strfind(lname,clan_tag)!=-1) ? (true) : (false); } if(HasClanTag(playerid,"[FREE]"))SetPlayerColor(playerid,0xAA3333); public OnGameModeInit() { return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerConnect(playerid) { }