SA-MP Forums

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

 
 
Thread Tools Display Modes
Old 02/02/2014, 11:00 AM   #1
norton2
Huge Clucker
 
Join Date: Jul 2013
Posts: 431
Reputation: 9
Default Select

Aseara mi-a venit o idee sa fac ceva cu textdraw-urile selectabile..bla bla bla... Am facut totu dar cand am ajuns la al 3-lea textdraw surprizaaaa, NU MERGEA, cand dau click pe el nu se intampla nimic :@ ! Nu stiu ce are, este la fel ca si celelante nu e gresit nimic...
ASta este :
pawn Code:
if(DMVT[playerid] == 3)
    {
    if(clickedid == dmva3)
    {
    SendClientMessage(playerid, COLOR_LIGHTBLUE, " Raspuns corect, Urmeaza intrebarea urmatoare !");
    SetTimerEx("DMVTest2", 5000, 0, "d", playerid);
    TextDrawDestroy(dmva3ox3);
    TextDrawDestroy(dmvtext3);
    TextDrawDestroy(dmvintrebare3);
    TextDrawDestroy(dmva3);
    TextDrawDestroy(dmvb3);
    TextDrawDestroy(dmvc3);
    TextDrawDestroy(dmvd3);
    return 0;
    }
    if(clickedid == dmvb3)
    {
    CancelSelectTextDraw(playerid);
    SendClientMessage(playerid, COLOR_LIGHTRED, " Raspuns gresit !");
    SendClientMessage(playerid, COLOR_LIGHTRED, " Tarane, citeste mai bine...");
    DMVT[playerid] = 0;
    TogglePlayerControllable(playerid, 1);
    TextDrawDestroy(dmva3ox3);
    TextDrawDestroy(dmvtext3);
    TextDrawDestroy(dmvintrebare3);
    TextDrawDestroy(dmva3);
    TextDrawDestroy(dmvb3);
    TextDrawDestroy(dmvc3);
    TextDrawDestroy(dmvd3);
    }
    if(clickedid == dmvc3)
    {
    CancelSelectTextDraw(playerid);
    SendClientMessage(playerid, COLOR_LIGHTRED, " Raspuns gresit !");
    DMVT[playerid] = 0;
    TogglePlayerControllable(playerid, 1);
    TextDrawDestroy(dmva3ox3);
    TextDrawDestroy(dmvtext3);
    TextDrawDestroy(dmvintrebare3);
    TextDrawDestroy(dmva3);
    TextDrawDestroy(dmvb3);
    TextDrawDestroy(dmvc3);
    TextDrawDestroy(dmvd3);
    return 0;
    }
    if(clickedid == dmvd3)
    {
    CancelSelectTextDraw(playerid);
    SendClientMessage(playerid, COLOR_LIGHTRED, " Raspuns gresit !");
    DMVT[playerid] = 0;
    TogglePlayerControllable(playerid, 1);
    TextDrawDestroy(dmva3ox3);
    TextDrawDestroy(dmvtext3);
    TextDrawDestroy(dmvintrebare3);
    TextDrawDestroy(dmva3);
    TextDrawDestroy(dmvb3);
    TextDrawDestroy(dmvc3);
    TextDrawDestroy(dmvd3);
    return 0;
    }
    }

Last edited by norton2; 02/02/2014 at 04:04 PM.
norton2 is offline  
Old 02/02/2014, 12:34 PM   #2
InfiniTy.
High-roller
 
InfiniTy.'s Avatar
 
Join Date: Oct 2012
Location: Romania,Galați
Posts: 1,251
Reputation: 119
Default Re: Select

Return 0 n-are ce cauta acolo.
Si ffs..aranjeaza codul...cum intelegi tu de acolo ce ai facut chiar nu stiu
InfiniTy. is offline  
Old 02/02/2014, 01:36 PM   #3
norton2
Huge Clucker
 
Join Date: Jul 2013
Posts: 431
Reputation: 9
Default Re: Select

Am scos return 0 si tot la fel, nu merge...

http://pastebin.com/ihTPvV49
norton2 is offline  
Old 02/02/2014, 01:38 PM   #4
InfiniTy.
High-roller
 
InfiniTy.'s Avatar
 
Join Date: Oct 2012
Location: Romania,Galați
Posts: 1,251
Reputation: 119
Default Re: Select

Nu stiu daca stii sa distingi culorile..dar in pastebin lipsesc la SendClientMessage(la sfarsitul lor) "
InfiniTy. is offline  
Old 02/02/2014, 01:40 PM   #5
norton2
Huge Clucker
 
Join Date: Jul 2013
Posts: 431
Reputation: 9
Default Re: Select

Le-am facut repede sa le aranjez... In gm le am corectee
norton2 is offline  
Old 02/02/2014, 01:43 PM   #6
InfiniTy.
High-roller
 
InfiniTy.'s Avatar
 
Join Date: Oct 2012
Location: Romania,Galați
Posts: 1,251
Reputation: 119
Default Re: Select

Quote:
Originally Posted by norton2 View Post
Le-am facut repede sa le aranjez... In gm le am corectee
De ce distrugi td-urile ? Doar se ascund..o sa ajungi sa iti dispara de pe server.
(Si nu inteleg cum de la aranjat s-a ajuns sa stergi ")
InfiniTy. is offline  
Old 02/02/2014, 03:09 PM   #7
norton2
Huge Clucker
 
Join Date: Jul 2013
Posts: 431
Reputation: 9
Default Re: Select

Ai dreptate, o sa le fac cu TextDrawHideForPlayer...etc !
Si la aranjat, nu conteaza...
Putem revenii la problema mea?
norton2 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] Select Mteck Português/Portuguese 4 10/01/2013 10:07 PM
Skin select. Faisal_khan Scripting Help 6 25/03/2012 05:42 AM
Character Select Help! DreaD Help Archive 0 17/05/2011 07:08 AM
Won't SELECT md5 ajwar Help Archive 2 20/03/2011 01:02 AM
select a certain row Hornet600 Help Archive 4 14/03/2011 12:18 AM


All times are GMT. The time now is 03:00 PM.


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