Szerző Téma: Pont (textdraw)  (Megtekintve 475 alkalommal)

Dj.BL3ND

  • Vendég
Pont (textdraw)
« Dátum: 2012. március 13. - 11:42:01 »
0 Show voters
hello all
egy oylan TD-t szeretnék kérni ami a Pénz alatt kiirja h
Pontok: amenyi pontja van
elõre is köszi

Nem elérhető CANNONN

  • 2139
    • Profil megtekintése
Pont (textdraw)
« Válasz #1 Dátum: 2012. március 13. - 12:00:49 »
0 Show voters

#include a_samp
new Text:pontok[MAX_PLAYERS];
new ellenortimer[MAX_PLAYERS];
forward ellenorzes(playerid);
public OnPlayerConnect(playerid)
{
new string[128];
format(string, sizeof(string),\"Pontok: %d\", GetPlayerScore(playerid));
pontok[playerid] = TextDrawCreate(498.000000, 97.000000, string);
TextDrawBackgroundColor(pontok[playerid], 255);
TextDrawFont(pontok[playerid], 2);
TextDrawLetterSize(pontok[playerid], 0.350000, 1.399999);
TextDrawColor(pontok[playerid], -1);
TextDrawSetOutline(pontok[playerid], 1);
TextDrawSetProportional(pontok[playerid], 1);
TextDrawShowForPlayer(playerid, pontok[playerid]);
ellenortimer[playerid] = SetTimerEx(\"ellenorzes\", 6000, true, \"i\", playerid);
return 1;
}
public OnPlayerDisconnect(playerid)
{
KillTimer(ellenortimer[playerid]);
TextDrawHideForPlayer(playerid, pontok[playerid]);
return 1;
}
public ellenorzes(playerid)
{
new string[128];
format(string, sizeof(string),\"Pontok: %d\", GetPlayerScore(playerid));
TextDrawSetString(pontok[playerid], string);
return 1;
}

dexi

  • Vendég
Pont (textdraw)
« Válasz #2 Dátum: 2012. március 13. - 12:04:51 »
0 Show voters
http://solidfiles.com/d/72855f4968/
Láttam hogy megelõztél, de azért kirakom  ::|
« Utoljára szerkesztve: 2012. március 13. - 12:06:38 írta Fl0rian »

Dj.BL3ND

  • Vendég
Pont (textdraw)
« Válasz #3 Dátum: 2012. március 13. - 12:07:40 »
0 Show voters
köszi minda 2-õtöknek  témát zárom

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal