14.07.2012, 11:00
so i was making a script i got some error but i fixed but i dnt know why its not working.
i am telling u whole script so it wil be easy to help me.
Код:
#include <a_samp> #include <streamer> #if defined FILTERSCRIPT #define announce public OnFilterScriptInit() announce(playerid,params[]) { if(PlayerInfo[playerid][Level] >= 1) { CMDMessageToAdmins(playerid,"ANNOUNCE"); if(!strlen(params)) return SendClientMessage(playerid,red,"Syntax Error: \"/ANNOUNCE <TEXT>\"."); return GameTextForAll(params,4000,3); } else return SendClientMessage(playerid,red,"ERROR: You need to be level 1 to use this command"); } #endif