02.07.2013, 16:29
Mhm, i added timer, now sign flashing every second, but shows 0. What I doing wrong ?
Код:
public OnGameModeInit()
{
SetTimer("speed", 1000, true);
}
forward speed();
public speed()
{
new stri[128];
for(new i = 0; i < MAX_PLAYERS; i++)
format(stri,128,"%d",GetPlayerSpeed(i,true));
SetObjectMaterialText(objektas,stri, 0, OBJECT_MATERIAL_SIZE_256x128,\
"Arial", 80, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
}

