Jump to content
  • 0

cum sa trimit un text catre player?


Guest AlexgO

Question

4 answers to this question

Recommended Posts

folosesti un fs pt reclame :D



new reclame[][]={
"Azi numai aici primiti paine si lapte gratis",
"In fiecare sambata la ora 19:00 va fi cate o extragere la lotto!!!",
"tralala"
};
forward Reclame();
public Reclame()
{
SendClientMessageToAll(Culoare, reclame[random(sizeof(reclame))]);
return 1;
}
///daca vrei sa bagi in GM,pui la OnGameModeInit
OnFilterScriptInit()
{
SetTimer("Reclame",2*6000,1);
return 1;
}


Pt Culoare pui codul de la culoare care o selectezi de mai jos,si o pui la SendClientMessageToAll

http://www.src-clan.info/flash/ColorPicker.swf

Daca vrei sa le trimita mai rar ,la SetTimer,in loc de 2,pui dupa cate minute sa trimita

Daca vrei sa mai adaugi mesage,pui la reclame,dar TOTDEAUNA ULTIMA TREBUIE SA NU AIBA ,    si restu sa aiba ,

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By AlexCelTare
      Stie cineva sa faca o comanda de tip /givegun playerid gunid ammo?
      Exista vreun sample?
    • By salexm93
      Salutare 
      Poate nu inteleg eu bine , pe wiki scrie max 2048 globale si 256 per player .
      Sa luam cazul ipotetic al unui server cu 1000 de playeri online .
      new Text:xpbar[MAX_PLAYERS]; new Text:playername[MAX_PLAYERS]; Aici vor fi 2000 create ? Adica destul de aproape de limita
       
      new PlayerText:xpbar[MAX_PLAYERS]; new PlayerText:playername[MAX_PLAYERS]; Iar Aici vor fi doar 2 ?
      Totodata , PlayerTextDrawDestroy ,la onplayerdisconnect ?
    • By GabyRo.off
      cum pot rezolva eroarea asta in sublime text 
      [WinError 2] The system cannot find the file specified
      [cmd: ['pawncc.exe', '-i includes', 'D:\\Users\\Gaby\\Downloads\\gamemode GTA-SAMP\\gamemodes\\GM.pwn', '-;+']]
      [dir: D:\Users\Gaby\Downloads\gamemode GTA-SAMP\gamemodes]
      [path: C:/pawno]
      [Finished]
       
      [ma puteti gasi pe discord:GabyRoノ#4068]
    • By TheGodfather
      Salut, am incercat metoda asta pentru a da kick playerilor care joaca de pe telefon dar inca pot intra. Ma puteti ajuta?
      La functia OnPlayerLoginIn am adaugat
      if(FPS2[playerid]-1 == 0) 
              {SCM(playerid, COLOR_CLIENT, "You can not play from a phone. This server is pc only.");
               new string[128];
               format(string, sizeof(string), "AdmBot: %s was kicked by AdmBot, reason: playing from a phone.", GetName(playerid));
               SendAdminMessage(COLOR_LIGHTRED, string, 1);
               return KickEx(playerid);}
      Am cautat peste tot prin GM ce inseamna acel FPS2[playerid]-1 dar nu gasesc, uneori cand sunt aratate FPS-urile, de ex la comanda /id apare FPS[playerid], dar uneori apare FPS[playerid]-1. Cum imi pot da seama ca un jucator joaca de pe telefon?
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.