SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Romānă/Romanian

 
 
Thread Tools Display Modes
Old 11/08/2016, 01:12 PM   #1
RedBlack
Little Clucker
 
Join Date: Jul 2016
Posts: 17
Reputation: 0
Default Ajutor Textdraw doar pentru un player

Salut am vazut ca unele servere de RPG au textdraw-urile acelea unde scriu (numele player-ului)/(numele server-ului), uitati un exemplu:

Code:
%s_/_Numele.Server-ului
Am facut un textdraw in iPLEOMAX's Textdraw %s_ ca sa vada doar un player apoi am luat asta:

Code:
Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 509.751159, 424.666687, "%s_");
PlayerTextDrawLetterSize(playerid, Textdraw0[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw0[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw0[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw0[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw0[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw0[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw0[playerid], 1);
si l-am bagat in GM-ul meu dar nu merge imi da aceasta eroare:

Code:
D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1034) : error 017: undefined symbol "playerid"
D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1035) : error 017: undefined symbol "playerid"
D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1036) : error 017: undefined symbol "playerid"
D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1037) : error 017: undefined symbol "playerid"
D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1038) : error 017: undefined symbol "playerid"
D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1039) : error 017: undefined symbol "playerid"
D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1040) : error 017: undefined symbol "playerid"
D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1041) : error 017: undefined symbol "playerid"
D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1042) : error 017: undefined symbol "playerid"
Ce sa fac? ajutati-ma va rog

Last edited by RedBlack; 12/08/2016 at 12:02 AM.
RedBlack is offline  
Old 11/08/2016, 01:42 PM   #2
iDarkS7orm
Big Clucker
 
Join Date: Dec 2015
Posts: 86
Reputation: 0
Default Re: Ajutor Textdraw doar pentru un player

O.o
Si eu am problema asta

Last edited by iDarkS7orm; 11/08/2016 at 02:39 PM.
iDarkS7orm is offline  
Old 11/08/2016, 06:49 PM   #3
jamal1992
Huge Clucker
 
Join Date: Nov 2010
Posts: 470
Reputation: 3
Default Re: Ajutor Textdraw doar pentru un player

E foarte simpla problema ta, iti spune clar ca playerid nu e definit. Pune codul in callback-ul OnPlayerConnect si o sa mearga, acolo este indicat sa se foloseasca aceaasta functie. Iar tu asta nu mai face reclama pe aici, ti-am dat report sper sa te rezolve baietii.
__________________
Vrei sa faci bani usor pe internet ? Asta e cea mai buna solutie si nu e teapa !
http://www.viespar.ro/?reff=ab8e9d80...eac03c710238d7
Inscrie-te si tu si fa-ti bani de buzunar !
jamal1992 is offline  
Old 12/08/2016, 12:01 AM   #4
RedBlack
Little Clucker
 
Join Date: Jul 2016
Posts: 17
Reputation: 0
Default Re: Ajutor Textdraw doar pentru un player

Quote:
Originally Posted by jamal1992 View Post
E foarte simpla problema ta, iti spune clar ca playerid nu e definit. Pune codul in callback-ul OnPlayerConnect si o sa mearga, acolo este indicat sa se foloseasca aceaasta functie. Iar tu asta nu mai face reclama pe aici, ti-am dat report sper sa te rezolve baietii.
Nu mi-am dat seama ca o sa fac reclama... (sunt prost) editez imediat sper sa nu fiu pedepsit pentru o greseala...
RedBlack is offline  
Old 12/08/2016, 12:09 AM   #5
jamal1992
Huge Clucker
 
Join Date: Nov 2010
Posts: 470
Reputation: 3
Default Re: Ajutor Textdraw doar pentru un player

Quote:
Originally Posted by RedBlack View Post
Nu mi-am dat seama ca o sa fac reclama... (sunt prost) editez imediat sper sa nu fiu pedepsit pentru o greseala...
Nu era vorba de tine )
__________________
Vrei sa faci bani usor pe internet ? Asta e cea mai buna solutie si nu e teapa !
http://www.viespar.ro/?reff=ab8e9d80...eac03c710238d7
Inscrie-te si tu si fa-ti bani de buzunar !
jamal1992 is offline  
Old 12/08/2016, 11:29 AM   #6
RedBlack
Little Clucker
 
Join Date: Jul 2016
Posts: 17
Reputation: 0
Default Re: Ajutor Textdraw doar pentru un player

Quote:
Originally Posted by jamal1992 View Post
Nu era vorba de tine )
Pai cine a facut reclama? ) atunci :P
RedBlack is offline  
Old 12/08/2016, 12:28 PM   #7
iDarkS7orm
Big Clucker
 
Join Date: Dec 2015
Posts: 86
Reputation: 0
Default Re: Ajutor Textdraw doar pentru un player

A fost unu cu un post aici ba ) nush ce comunitate
iDarkS7orm is offline  
Old 08/10/2017, 12:25 PM   #8
ShiroOfficial
Little Clucker
 
Join Date: Mar 2017
Posts: 13
Reputation: 0
Default Re: Ajutor Textdraw doar pentru un player

+ 1 jamal, m-ai ajutat si pe mine!
Multumesc frumos!
ShiroOfficial is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 10:55 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.