plugin Messages_Shower erori

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
Post Reply
zozol3
Membru, skill 0
Membru, skill 0
Posts: 6
Joined: 14 Jul 2012, 12:19
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

14 Jul 2012, 12:26

este vorba de pluginul Messages_Shower

Code: Select all

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Messages Shower"
#define VERSION "1.0"
#define AUTHOR "Alka"

#define ADVERTISING_TIME 50.0

stock const messages[][] = {
   
   "* [Sol] ^x03 Bun Vent pe Sol.ExtremeCs.ro",
   "* [Sol] ^x03 Adaugati sv la fav: sol.extremecs.ro",
   "* [Sol] ^x03 Pentru admin/slot cereri ban/unban etc vizitatie pe forum: http://extremecs.ro/ sectiunea Sol",
   "* [Sol] ^x03 Echipa Sol.ExtremeCs.Ro va ureaza bft la fraguri si un joc placut",
   "* [Sol] ^x03 IL cauti pe ZoZoL3? dai add la Y!M: bogdan_bogdi1993 ",
   "* [Sol] ^x03 IL cauti pe SoL^CremA? dai add la Y!M: nitualex09 "
}


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();
   }
}

cine ma poate ajuta?:( va rog mie imi da erori:( ^:)^ ^:)^
Last edited by zozol3 on 14 Jul 2012, 16:31, edited 1 time in total.
zozol3
Membru, skill 0
Membru, skill 0
Posts: 6
Joined: 14 Jul 2012, 12:19
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

14 Jul 2012, 12:35

deci ma ajuta cineva? :( ^:)^
symbol
Membru, skill 0
Membru, skill 0
Posts: 70
Joined: 05 Jan 2012, 21:30
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Reputatie: Ban 3 luni
Has thanked: 4 times
Been thanked: 3 times
Contact:

14 Jul 2012, 12:36

ultima propozitie fara " , "
zozol3
Membru, skill 0
Membru, skill 0
Posts: 6
Joined: 14 Jul 2012, 12:19
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

14 Jul 2012, 12:38

tot nu merge :(( zice asta

Code: Select all

/tmp/texteQqOdq.sma(17) : error 027: invalid character constant
zozol3
Membru, skill 0
Membru, skill 0
Posts: 6
Joined: 14 Jul 2012, 12:19
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

14 Jul 2012, 13:43

mil face cineva please?:(
Andrew
Membru, skill +2
Membru, skill +2
Posts: 958
Joined: 12 Mar 2008, 14:51
Detinator Steam: Nu
Reputatie: Fost Moderator ajutator
Has thanked: 33 times
Been thanked: 52 times

14 Jul 2012, 16:17

"* [Sol] ^x03 IL cauti pe SoL^CremA? dai add la Y!M: nitualex09 ",

scoate "," ca numai apare niciun mesaj, nu ai mai setat un alt mesaj, numai are rost aceea virgula

daca nu merge nici asa incearca alt web compiler
zozol3
Membru, skill 0
Membru, skill 0
Posts: 6
Joined: 14 Jul 2012, 12:19
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

14 Jul 2012, 16:33

imi zice

Code: Select all

Messages_Shower.sma(18) : error 027: invalid character constant
User avatar
oneeightone
Fost moderator
Fost moderator
Posts: 2547
Joined: 17 Jul 2009, 18:29
Detinator Steam: Da
Reputatie: Fost super moderator
Membru Club eXtreamCS (o luna)
Nick anterior : LiGHTERS
0.3 / 3
Has thanked: 68 times
Been thanked: 512 times

14 Jul 2012, 16:36

Nu folosi caracterul ^ deoarece cu el se definesc culorile.
SoL^CremA
->

Code: Select all

SoL CremA
zozol3
Membru, skill 0
Membru, skill 0
Posts: 6
Joined: 14 Jul 2012, 12:19
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

14 Jul 2012, 17:28

ma LiGHTERS merge :X:X
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests