Exaton Posted February 3, 2018 Report Share Posted February 3, 2018 Salutare tutror am si eu o intrebare cum pot pune skinul langa minimap sa arate(ex. eu am skinul 1 langa minimap sa arate caracterul la skinul 1) Quote Link to comment Share on other sites More sharing options...
1 Exaton Posted February 6, 2018 Author Report Share Posted February 6, 2018 Acum 54 minute, webby a spus: Poti modifica acel textdraw cu http://forum.sa-mp.com/showthread.php?t=376758 nu arata cordonatele Quote Link to comment Share on other sites More sharing options...
0 matthew. Posted February 4, 2018 Report Share Posted February 4, 2018 Te folosesti de functia TextDrawSetPreviewModel. Quote Link to comment Share on other sites More sharing options...
0 Exaton Posted February 5, 2018 Author Report Share Posted February 5, 2018 Acum 15 ore, webby a spus: Te folosesti de functia TextDrawSetPreviewModel. imi poti da ca nu stiu si unde sa o pun ms mult Quote Link to comment Share on other sites More sharing options...
0 matthew. Posted February 5, 2018 Report Share Posted February 5, 2018 http://wiki.sa-mp.com/wiki/TextDrawSetPreviewModel Quote Link to comment Share on other sites More sharing options...
0 Exaton Posted February 5, 2018 Author Report Share Posted February 5, 2018 Acum 16 minute, webby a spus: http://wiki.sa-mp.com/wiki/TextDrawSetPreviewModel nu merge 1 Quote Link to comment Share on other sites More sharing options...
0 matthew. Posted February 5, 2018 Report Share Posted February 5, 2018 Pentru inceput, adaugi in incipitul gamemod-ului: new PlayerText: SkinPreview[MAX_PLAYERS]; La callback-ul `OnPlayerConnect`, adaugi urmatorul textdraw: SkinPreview[playerid] = CreatePlayerTextDraw(playerid,-34.000000, 365.000000, "_"); PlayerTextDrawBackgroundColor(playerid,SkinPreview[playerid], 0); PlayerTextDrawFont(playerid,SkinPreview[playerid], 5); PlayerTextDrawLetterSize(playerid,SkinPreview[playerid], 0.749998, 1.899999); PlayerTextDrawColor(playerid,SkinPreview[playerid], -1); PlayerTextDrawSetOutline(playerid,SkinPreview[playerid], 0); PlayerTextDrawSetProportional(playerid,SkinPreview[playerid], 1); PlayerTextDrawSetShadow(playerid,SkinPreview[playerid], 1); PlayerTextDrawUseBox(playerid,SkinPreview[playerid], 1); PlayerTextDrawBoxColor(playerid,SkinPreview[playerid], 0); PlayerTextDrawTextSize(playerid,SkinPreview[playerid], 106.000000, 72.000000); PlayerTextDrawSetPreviewModel(playerid, SkinPreview[playerid], 0); PlayerTextDrawSetPreviewRot(playerid, SkinPreview[playerid], -8.000000, 0.000000, 15.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,SkinPreview[playerid], 0); Iar la callback-ul `OnPlayerSpawn`, adaugi: new playerSkin; playerSkin = GetPlayerSkin(playerid); PlayerTextDrawSetPrewviewModel(playerid, SkinPreview[playerid], playerskin); PlayerTextDrawShow(playerid, SkinPreview[playerid]); Quote Link to comment Share on other sites More sharing options...
0 Exaton Posted February 5, 2018 Author Report Share Posted February 5, 2018 Acum 12 minute, webby a spus: Pentru inceput, adaugi in incipitul gamemod-ului: new PlayerText: SkinPreview[MAX_PLAYERS]; La callback-ul `OnPlayerConnect`, adaugi urmatorul textdraw: SkinPreview[playerid] = CreatePlayerTextDraw(playerid,-34.000000, 365.000000, "_"); PlayerTextDrawBackgroundColor(playerid,SkinPreview[playerid], 0); PlayerTextDrawFont(playerid,SkinPreview[playerid], 5); PlayerTextDrawLetterSize(playerid,SkinPreview[playerid], 0.749998, 1.899999); PlayerTextDrawColor(playerid,SkinPreview[playerid], -1); PlayerTextDrawSetOutline(playerid,SkinPreview[playerid], 0); PlayerTextDrawSetProportional(playerid,SkinPreview[playerid], 1); PlayerTextDrawSetShadow(playerid,SkinPreview[playerid], 1); PlayerTextDrawUseBox(playerid,SkinPreview[playerid], 1); PlayerTextDrawBoxColor(playerid,SkinPreview[playerid], 0); PlayerTextDrawTextSize(playerid,SkinPreview[playerid], 106.000000, 72.000000); PlayerTextDrawSetPreviewModel(playerid, SkinPreview[playerid], 0); PlayerTextDrawSetPreviewRot(playerid, SkinPreview[playerid], -8.000000, 0.000000, 15.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,SkinPreview[playerid], 0); Iar la callback-ul `OnPlayerSpawn`, adaugi: new playerSkin; playerSkin = GetPlayerSkin(playerid); PlayerTextDrawSetPrewviewModel(playerid, SkinPreview[playerid], playerskin); PlayerTextDrawShow(playerid, SkinPreview[playerid]); ms mult dar cu masina ca apara sau e tot asa? daca e alt fel imi arati ? 1 Quote Link to comment Share on other sites More sharing options...
0 matthew. Posted February 5, 2018 Report Share Posted February 5, 2018 Daca vrei pentru vehicul, trebuie sa modifici SkinPreview in VehiclePreview si sa modifici si coordonatele textdrawului pentru a nu fi unul peste altul. PlayerTextDrawSetPreviewModel(playerid, VehiclePreview[playerid], 0); in PlayerTextDrawSetPreviewModel(playerid, VehiclePreview[playerid], ); new playerSkin; playerSkin = GetPlayerSkin(playerid); PlayerTextDrawSetPrewviewModel(playerid, VehiclePreview[playerid], playerskin); PlayerTextDrawShow(playerid, VehiclePreview[playerid]); in new playerVehicle; playerVehicle= GetPlayerVehicleID(playerid); PlayerTextDrawSetPrewviewModel(playerid, VehiclePreview[playerid], playerVehicle); PlayerTextDrawShow(playerid, VehiclePreview[playerid]); Quote Link to comment Share on other sites More sharing options...
0 Exaton Posted February 5, 2018 Author Report Share Posted February 5, 2018 Acum 17 minute, webby a spus: Daca vrei pentru vehicul, trebuie sa modifici SkinPreview in VehiclePreview si sa modifici si coordonatele textdrawului pentru a nu fi unul peste altul. PlayerTextDrawSetPreviewModel(playerid, VehiclePreview[playerid], 0); in PlayerTextDrawSetPreviewModel(playerid, VehiclePreview[playerid], ); new playerSkin; playerSkin = GetPlayerSkin(playerid); PlayerTextDrawSetPrewviewModel(playerid, VehiclePreview[playerid], playerskin); PlayerTextDrawShow(playerid, VehiclePreview[playerid]); in new playerVehicle; playerVehicle= GetPlayerVehicleID(playerid); PlayerTextDrawSetPrewviewModel(playerid, VehiclePreview[playerid], playerVehicle); PlayerTextDrawShow(playerid, VehiclePreview[playerid]); multumesc mult Quote Link to comment Share on other sites More sharing options...
0 Exaton Posted February 5, 2018 Author Report Share Posted February 5, 2018 dar cordonatele Quote Link to comment Share on other sites More sharing options...
0 matthew. Posted February 5, 2018 Report Share Posted February 5, 2018 CreatePlayerTextDraw(playerid,-34.000000, 365.000000, "_"); asta modifici pentru coordonate. Quote Link to comment Share on other sites More sharing options...
0 Exaton Posted February 5, 2018 Author Report Share Posted February 5, 2018 Acum 32 minute, webby a spus: CreatePlayerTextDraw(playerid,-34.000000, 365.000000, "_"); asta modifici pentru coordonate. pai care sunt cordonatele? ca sa le inlocuiesc Quote Link to comment Share on other sites More sharing options...
0 matthew. Posted February 5, 2018 Report Share Posted February 5, 2018 2 hours ago, Exaton said: pai care sunt cordonatele? ca sa le inlocuiesc -34.000000, 365.000000 aceste coordonate modifici. Quote Link to comment Share on other sites More sharing options...
0 Exaton Posted February 6, 2018 Author Report Share Posted February 6, 2018 Acum 17 ore, webby a spus: -34.000000, 365.000000 aceste coordonate modifici. pai care sunt cordonatele ca nu stiu cum sa-l schimb pt masinii Quote Link to comment Share on other sites More sharing options...
0 matthew. Posted February 6, 2018 Report Share Posted February 6, 2018 Poti modifica acel textdraw cu http://forum.sa-mp.com/showthread.php?t=376758 Quote Link to comment Share on other sites More sharing options...
Question
Exaton
Salutare tutror am si eu o intrebare cum pot pune skinul langa minimap sa arate(ex. eu am skinul 1 langa minimap sa arate caracterul la skinul 1)
Link to comment
Share on other sites
15 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.