GTA Közösség - A magyar GTA fórum

San Andreas Multiplayer (SA-MP) => SA-MP: Szerverfejlesztés => Segítségkérés => A témát indította: [RTM]Bence - 2013. április 22. - 06:38:04

Cím: Automatikus üzenet
Írta: [RTM]Bence - 2013. április 22. - 06:38:04
[pawn]new uzenet;
forward UzenetKuldes();
uzenet = SetTimer(\"UzenetKuldes\", 60000, true);
//Automata üzik//
public UzenetKuldes()
{
SendClientMessageToAll(COLOR_YELLOW, \"Tulaj:[PM]Bence\");
SendClientMessageToAll(COLOR_YELLOW, \"FB Oldal:facebook.com/PestMegyeHungaryFunSzerver\");
return 1;
}
[/pawn]
Sziasztok. Evvel mi a gond?
D:\\Pest-Megye Szerver\\gamemodes\\pm.pwn(21) : error 010: invalid function or declaration[/quote]
Cím: Automatikus üzenet
Írta: TengeriMalac - 2013. április 22. - 06:57:51
nem kell az uzenet változo, simán tedd a timert OnFilterScript/GameModeInit() alá