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. |
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); |
format(text2,128,"%s [ID:%d]: %s", pnametext, playerid, text[1]);
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;
}
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. |