- 0
Eroare ServerBot
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Ciolos
Deci mam uitat la un tutorial cum sa fac asa ceva am pus sub OnGameModeInit asta:
[pawn]public OnGameModeInit()
{
SetTimer("ServerBot", 300000, 1);
}[/pawn]
Dupaia Am Pus Astea Jos De Tot Ca In Tutorialu Ala:
[pawn]public ServerBot()
{
new Mesaje;
Mesaje = random(3);
switch(Mesaje)
{
case 0: { SendClientMessageToAll(0x009999ff, "Vrei Sa Mergi In Locuri Fun? Scrie /teles!"); }
case 1: { SendClientMessageToAll(0x009999ff, "Scrie /rules Casa Vezi Creatori Serverului!"); }
case 2: { SendClientMessageToAll(0x009999ff, "Scrie /admins Casa Vezi Admini Online!"); }
}
}[/pawn]
Si Cand Dau Compile Imi Da Eroarea Asta:
[pawn][D:\RomaniaExtremeStunt\gamemodes\RES.pwn(320) : warning 235: public function lacks forward declaration (symbol "ServerBot")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.[/pawn]
Ajutatima Plss Am Incercat Orice Si Nimic
(
5 answers to this question
Recommended Posts