MazZaFaKa
Умник
Вообщем решил сделать FS который показывает пинг на головой, а вто что выдает
Вот сам код
PHP:
C:\Users\Àäìèíèñòðàòîð\Desktop\Untitled.pwn(12) : warning 202: number of arguments does not match definition
C:\Users\Àäìèíèñòðàòîð\Desktop\Untitled.pwn(20) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
PHP:
#include <a_samp>
new Text3D:text[MAX_PLAYERS];
new Text3D:playertextid[MAX_PLAYERS];
public OnPlayerConnect(playerid) {
new Float:X, Float:Y, Float:Z;
new string[256];
format(string,sizeof(string),"PING:%d",GetPlayerPing(playerid));
GetPlayerPos(playerid, X, Y, Z );
playertextid[playerid] = Create3DTextLabel(string,0x008080FF,X,Y,Z,40.0);
Attach3DTextLabelToPlayer(playertextid[playerid], playerid, 0.0, 0.0, 0.5);
return 1;
}
public OnPlayerUpdate(playerid)
{
new string[256];
format(string,sizeof(string),"PING:%d",GetPlayerPing(playerid));
Update3DTextLabelText(playertextid[playerid], 0x008080FF, text[]);
return 0;
}
