Tdovi


Započeo twoblqck.art, Februar 21, 2018, 23:00:47 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Detaljan opis problema:Kada udem ingame nema tdova,a sve sam lijepo nastimo
Dio skripte:TextDraws
Neke slike/video za lakse dobivanje pomoci(neobavezno)://

posalji neke kodove,npr te textdrawove kako si ih definisao i kako si namestio TextShowForPlayer

Verovatno si zabrljao TextDrawShowForPlayer,TextDrawHideForPlayer.

L3o

*

Et ti prijedlog kako šta.

public OnPlayerConnect(playerid)
{
    // GLOBALNI TEXTDRAW -> TextDrawShowForPlayer(playerid, Ime_Textdraw);
    // PLAYER TEXTDRAW -> PlayerTextDrawShow(playerid, Ime_Textdraw-a[playerid]);
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    // GLOBALNI TEXTDRAW -> TextDrawHideForPlayer(playerid, Ime_Textdraw);
    // PLAYER TEXTDRAW -> PlayerTextDrawHide(playerid, Ime_Textdraw-a[playerid]);
    return 1;
}
retired

Postoje 2 razloga

1. Nisi dodao i definisao tdove,npr kod onplayerspawn dodas TextDrawShowForPlayer(playerid, IMETDa) i tako za ostale

2. Nisi dodao u OnGameModeInit te tdove
Respect to: Fantom,Muma,Markoni.
-------------------- Moji Radovi -------------------------
-------------------- Gamemodes ------------------------
Castro RolePlay: http://balkan-samp.com/forum/index.php?topic=119369.0
Black Expensive x2.2: http://balkan-samp.com/forum/index.php?topic=120053.0
------------------- FilterScripts ------------------------
Bunny Hop: http://balkan-samp.com/forum/index.php?topic=120437.0
Bank System: http://balkan-samp.com/forum/index.php?topic=119244.0