Jump to content
  • 0

pomoc Automatická reklama


DxGamer

Dotaz

Ahoj,

Našom som jeden FS na AutoMessages (AutomatickúReklamu) ale je tam menši problém, som neskušení pawner a neviem ako to opraviť tady je script :

#include

forward Reklama();

public OnFilterScriptInit()
{

SetTimer("Reklama",30000,1); // settimer ktory spusti dalsiu reklamu 1.000 = 1 sekunda , 40 sekund = 40.000

return 1;
}
#define COLOR_ORANGE 0xFF8C00AA

public Reklama() {
switch(random(15)) {

case 0: {
SendClientMessageToAll(COLOR_ORANGE, "Skus příkaz /carmenu a spawni si svoje oblíbený auto");
}

case 1: {
SendClientMessageToAll(COLOR_ORANGE, "Majitelé serveru: DxGamer, Miki851");
}

case 2: {
SendClientMessageToAll(COLOR_ORANGE, "Hl.Admini: cool8818");
}

case 3: {
SendClientMessageToAll(COLOR_ORANGE, "Na serveru si můžete naladit svoje oblíbené Rádio(LIVE),příkazem: /radio");
}

case 4: {
SendClientMessageToAll(COLOR_ORANGE, "Budete-li něco chtít napište adminům-oni vám pomůžou");
}

case 5: {
SendClientMessageToAll(COLOR_ORANGE, "podívejte se taky na náš web: www.samp.royalgame.eu");
}

case 6: {
SendClientMessageToAll(COLOR_ORANGE, "Budou se konat i Eventy o veliké odměny.");
}
}
return 1;
}


//---------------------------------//
// //
// //
// //
// //
// //
// //
// //
// //
//---------------------------------//


//---TEXT prepíš a daj tam svôj text/reklamu 
//---Prosím neprepisovať autora je to môj prvý FS 
//---Návod: Vlož tento FS do zložki filescripts a potom daj do configu reklama BEZ AMX ! a hraj 

Problém

C:\Users\roman\Desktop\reklama.pwn(1) : fatal error 100: cannot read from file: ""

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Link to comment
Share on other sites

8 odpovědí na tuto otázku

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...