Jump to content
  • 0

Advertismente


Guest MFI

Question

Deci:

Vreau sa imi fac niste advertismente in server adika ...

Mesaje care apar dupa un anumit interval de timp ...

Doar ca nu imi dat FS-uri  :D

Deci vreau sa imi fac din cite stiu eu se face asa:

Bagi la new numele si la OnGameModeInit se baga timpul si mesajul ...

Doar ca eu nu stiu cum sa le aranjez ...

Daca se ofera cineva sa imi spuna cum se face ii voi fi recunoscator ...

Sau macar sa imi dea un exemplu, apoi fac singur  ;D

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Astea pe la inceputul scriptului

new Serverbot;
new BotMessages[14][256] = { //in loc de 14 pui cate texte ai
    "  text",
    "  text",
    "  text",
    "  text",
    "  text",
    "  text",
    "  text",
    "  text",
    "  text!",
    "  text",
    "  text",
    "  text",
    "  text",
    "  text"
};
Astea mai jos
public BotMSG(playerid)
{
    if(Serverbot < 33)
{
    Serverbot++;
    }
else
{
    Serverbot = 0;
    }
    printf(" ");
    SendClientMessageToAll(COLOR_GREEN,BotMessages[Serverbot]);
    printf("Bot sent message: %s",BotMessages[Serverbot]);
    printf(" ");
}

Eu le-am luat din .pwn de la modu The Crime Life si merg.

Daca nu,intra aici

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • 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.