06.11.2011, 16:56
ao conectar no server depois de logar eu qria q fosse direto pro ponto de spawn mas ele vem para essa tela
/imageshack/img824/9382/samp000gkb.png
alguem pode me ajuda
e meu relogio ta dando erro
Relogio Em TextDraw
/imageshack/img824/9382/samp000gkb.png
alguem pode me ajuda
e meu relogio ta dando erro
Код:
C:\Documents and Settings\mau tito\Desktop\Samp\gamemodes\RPG.pwn(112) : error 010: invalid function or declaration C:\Documents and Settings\mau tito\Desktop\Samp\gamemodes\RPG.pwn(122) : error 010: invalid function or declaration C:\Documents and Settings\mau tito\Desktop\Samp\gamemodes\RPG.pwn(132) : error 021: symbol already defined: "ProcessGameTime" C:\Documents and Settings\mau tito\Desktop\Samp\gamemodes\RPG.pwn(134) : error 010: invalid function or declaration
pawn Код:
txtTimeDisp = TextDrawCreate(632.0,25.0,"--:--:--");//linha do erro
TextDrawUseBox(txtTimeDisp, 0);
TextDrawFont(txtTimeDisp, 3);
TextDrawSetShadow(txtTimeDisp,0);
TextDrawSetOutline(txtTimeDisp,2);
TextDrawBackgroundColor(txtTimeDisp,0xAA3333AA);
TextDrawColor(txtTimeDisp,0x666699F6);
TextDrawAlignment(txtTimeDisp,3);
TextDrawLetterSize(txtTimeDisp,0.5,1.5);
txtDateDisp = TextDrawCreate(620.0,5.0,"00/00/0000");//linha do 2 erro
TextDrawUseBox(txtDateDisp, 0);
TextDrawFont(txtDateDisp, 3);
TextDrawSetShadow(txtDateDisp,0);
TextDrawSetOutline(txtDateDisp,2);
TextDrawBackgroundColor(txtDateDisp,0xAA3333AA);
TextDrawColor(txtDateDisp,0x666699F6);
TextDrawAlignment(txtDateDisp,3);
TextDrawLetterSize(txtDateDisp,0.5,1.5);
ProcessGameTime();//linha do 3 erro
SetTimer("ProcessGameTime", 1000, 1);
return 1;//linha do 4 erro
}