[AJUDA]2 Problemas!
#1

Bom Galera Estou Com Alguns Problemas

1є: Chat o Chat Sempre Corta a Primeira Letra.


Codigo:

http://pastebin.com/k2ys2fL7




2є Erro TextDraw

Erro:

Quote:

D:\Usuarios\Documentos\Servidor SAMP [HS]\filterscripts\relogio.pwn(29) : error 076: syntax error in the expression, or invalid function call
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Public:

Quote:

forward UpdateTime(playerid);
public UpdateTime(playerid)
{
format(playeron, sizeof(playeron), "[%d/%i]",JogadoresOnline(), GetMaxPlayers());
TextDrawSetString(tdpon,playeron);
format(veiculo, sizeof(veiculo), "%s",GetVehicleVelocity,(GetPlayerVehicleID(player id),-1,-1.-1);
TextDrawSetString(velocimetro,veiculo);
gettime(hour, minute);
format(timestr,32,"%02d:%02d",hour,minute);
TextDrawSetString(txtTimeDisp,timestr);

Ps: o 1є Ja Tirei a strdel. Mais Agora Fika Aparecendo o ";" Keria Tirar Isso Pf Me Ajudam
Reply
#2

tira o strdel

e muda o format pra esse

pawn Код:
format(text2,128,"%s [ID:%d]: %s", pnametext, playerid, text[1]);
Reply
#3

1є Erro Arrumando Vlw Korn.

e o 2є Alguem Sabe?
Reply
#4

pawn Код:
public UpdateTime(playerid)
{
    format(playeron, sizeof(playeron), "[%d/%i]",JogadoresOnline(), GetMaxPlayers());
    TextDrawSetString(tdpon,playeron);

    format(veiculo, sizeof(veiculo), "%s",GetVehicleVelocity(GetPlayerVehicleID(playerid) );
    TextDrawSetString(velocimetro,veiculo);

    gettime(hour, minute);
    format(timestr,32,"%02d:%02d",hour,minute);
    TextDrawSetString(txtTimeDisp,timestr);

    return 1;
}
Reply
#5

Rock:

Quote:

D:\Usuarios\Documentos\Servidor SAMP [HS]\filterscripts\relogio.pwn(30) : warning 202: number of arguments does not match definition
D:\Usuarios\Documentos\Servidor SAMP [HS]\filterscripts\relogio.pwn(30) : warning 202: number of arguments does not match definition
D:\Usuarios\Documentos\Servidor SAMP [HS]\filterscripts\relogio.pwn(30) : warning 202: number of arguments does not match definition
D:\Usuarios\Documentos\Servidor SAMP [HS]\filterscripts\relogio.pwn(30) : error 001: expected token: ",", but found ";"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Linha:

format(veiculo, sizeof(veiculo), "%s",GetVehicleVelocity(GetPlayerVehicleID(playeri d) );
Reply
#6

https://sampwiki.blast.hk/wiki/GetVehicleVelocity
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)