shadow2cs Posted March 8, 2013 Share Posted March 8, 2013 (edited) Salut!! As vrea sa imi spuneti cum sa copilez un sma cu amxx-studio, am incercat de multe ori, dar imi da o eroare!! Spuneti-mi va rog cum se face , pas cu pas sa pot intelege!! As dori sa imi apuneti ce trebuie sa completez aici: http://postimage.org/image/btarnz3wl/ Multumesc! Edited March 8, 2013 by DariciucIC Link to comment Share on other sites More sharing options...
ziua verde Posted March 8, 2013 Share Posted March 8, 2013 Salut!! As vrea sa imi spuneti cum sa copilez un sma cu amxx-studio, am incercat de multe ori, dar imi da o eroare!! Spuneti-mi va rog cum se face , pas cu pas sa pot intelege!! As dori sa imi apuneti ce trebuie sa completez aici: http://postimage.org/image/btarnz3wl/ Multumesc! http://www.amxmodx.org/webcompiler.cgi Link to comment Share on other sites More sharing options...
shadow2cs Posted March 8, 2013 Author Share Posted March 8, 2013 Am incercat sa copilez si pe site-ul asta, dar nu merge, uite ce imi da : /tmp/textpl2MoD.sma(19) : error 029: invalid expression, assumed zero /tmp/textpl2MoD.sma(19 -- 21) : error 008: must be a constant expression; assumed zero 2 Errors. Could not locate output file /home/groups/amxmodx/public_html/websc3/textpl2MoD.amx (compile failed). Link to comment Share on other sites More sharing options...
ziua verde Posted March 8, 2013 Share Posted March 8, 2013 Am incercat sa copilez si pe site-ul asta, dar nu merge, uite ce imi da : /tmp/textpl2MoD.sma(19) : error 029: invalid expression, assumed zero /tmp/textpl2MoD.sma(19 -- 21) : error 008: must be a constant expression; assumed zero 2 Errors. Could not locate output file /home/groups/amxmodx/public_html/websc3/textpl2MoD.amx (compile failed). Normal ca nu merge daca e gresit.. uite si tu randurile si corecteaza-le.. Link to comment Share on other sites More sharing options...
shadow2cs Posted March 8, 2013 Author Share Posted March 8, 2013 Eu v-am intrebat ce trebuie completat la amxx-studio (aveti imaginea mai sus), ca cineva mi-a zis ca trebuie copilat in pc, nu online!! Ma puteti ajuta sau nu? Link to comment Share on other sites More sharing options...
Jackie Dee Posted March 8, 2013 Share Posted March 8, 2013 Mai bine compilezi online. Posteaza codul sa vedem ce este gresit in el. Link to comment Share on other sites More sharing options...
shadow2cs Posted March 8, 2013 Author Share Posted March 8, 2013 Aveti aici sma-ul: http://www.girlshare.ro/32274025.3 Multumesc de intelegere!! Link to comment Share on other sites More sharing options...
Jackie Dee Posted March 11, 2013 Share Posted March 11, 2013 Uite codul corect: #include < amxmodx > #include < amxmisc > #define PLUGIN "Messages Shower" #define VERSION "1.0" #define AUTHOR "Alka" #define ADVERTISING_TIME 60.0 stock const messages [ ] [ ] = { "^x04 Il cauti pe BoSs? Atunci, il gasesti la id: ^x03 ionut_dariciuc!", "^x04 Il cauti pe Snake? Atunci, il gasesti la id: ^x03 kovacs_snake2013!", "^x04 Acest server este gazduit de: ^x03 DEVILCS.RO", "^x04 Toate cererrile ptr. admin se fac pe forum ^x03 http://devilcs.ro/forum", "^x04 Adminele nu se dau gratis!! Pentru mai multe detalii, folositi comanda ^x03 /preturi", "^x04 Bine ati venit pe ^x03 ORADEA.DEVILCS.RO!!", "^x04 DEVILCS.RO ^x03 Va ureata bafta la fraguri!!", "^x04 Nu uitati sa adugati serverul nostru la ^x03 FAVORITE!!" } public plugin_init ( ) { register_plugin ( PLUGIN, VERSION, AUTHOR ) set_task ( ADVERTISING_TIME, "show_messages", _, _, _,"b" ); } public show_messages ( ) { new Buffer[256]; formatex(Buffer, sizeof Buffer - 1, "^x04%s", messages[random(sizeof messages)]); new players[32], num, id; get_players(players, num); for(new i = 0 ; i < num ; i++) { id = players[i] message_begin(MSG_ONE, get_user_msgid("SayText"), _, id); write_byte(id); write_string(Buffer); message_end(); } } Il poti compila cu succes online aici: http://www.amxmodx.org/webcompiler.cgi . Asta e compilat de mine dar este tinut doar 10 minute. Link to comment Share on other sites More sharing options...
Recommended Posts