need a help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: need a help (
/showthread.php?tid=665619)
need a help -
andrusyao - 11.04.2019
I welcome everyone, I have such a problem that when a player spins or enters, he is above the coordinates, and when he enters the arena, he finds himself on the ground (the interiors are standard, not createobject, and not createdynamicobject). what should I do?
I also need help in creating the text of the FPS PING PACKET LOSS, ready to thank for the reputation.
Re: need a help -
MacGyverr - 11.04.2019
The packetloss things is maybe something like this?
PHP Code:
function Packetloss(playerid, id)
{
if(id != INVALID_PLAYER_ID) {
new pstring[624], Float:percentage;
format(pstring, sizeof(pstring),
~g~Packet Loss: ~w~%.2f~n~",
NetStats_PacketLossPercent(id));
PlayerTextDrawSetString(playerid, SpectateTextDraw[playerid], pstring);
PlayerTextDrawShow(playerid, SpectateTextDraw[playerid]);
}
return 1;
}