SA-MP Forums Archive
0.3e - Cellphone - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 0.3e - Cellphone (/showthread.php?tid=334658)



0.3e - Cellphone - Riddick94 - 15.04.2012

Hello.

I wan't to know what's going on. My mouse cursor is under the cellphone on the screen and it's 'catching' my buttons from the cellphone. Anyone know what's going on?

http://www.bankfotek.pl/view/1231819

By the way THIS SCRIPT works only on 0.3e R5. I've tested it. Why it works like that? something has been broken in RC6? It won't to take a number to the cellphone display in this script.

That's all. Two questions.


Re: 0.3e - Cellphone - Shabi RoxX - 15.04.2012

Try decreasing your TextDrawTextSize , and check which one will be correct for you :

pawn Код:
//if alignment is 2(center) decreasing 2 parameter will decrease x-axis value and 3 parameter y-axis , try decreasing it :)  
TextDrawTextSize(Mobile[5], 25.000000, 18.000000);



Re: 0.3e - Cellphone - Riddick94 - 15.04.2012

Okey i will check this. But, Kye can't make it more accurate? I saw it's not working how it would. Textdraws what's too close to other will select both of them. It's weird.

I'm going to check your proposal.


Re: 0.3e - Cellphone - Riddick94 - 16.04.2012

Damn.. i don't know what to do now. Can you help me, please? I can't help by myself.

pawn Код:
Textdraw[8] = TextDrawCreate(508.000000, 354.000000, "1..");
    TextDrawBackgroundColor(Textdraw[8], 255);
    TextDrawFont(Textdraw[8], 2);
    TextDrawLetterSize(Textdraw[8], 0.370000, 1.100000);
    TextDrawColor(Textdraw[8], -1);
    TextDrawSetOutline(Textdraw[8], 0);
    TextDrawSetProportional(Textdraw[8], 1);
    TextDrawSetShadow(Textdraw[8], 1);
    TextDrawTextSize(Textdraw[8], 3.000000, 5.000000);



Re: 0.3e - Cellphone - N0FeaR - 16.04.2012

I wirte on wrong topic, sorry.