Problem
#1

if you really need rep i will give it to you.. how can i make this work


PHP код:
if( listitem == 19 )
                    {
                    if(
TCCTicketOffer[playerid] < 999//muii
                    
{
                    if(
IsPlayerConnected(TCCTicketOffer[playerid]))
                    {
                    if (
ProxDetectorS(5.0playeridTCCTicketOffer[playerid]))
                    {
                    if(
GetPlayerCash(playerid) < TCCTicketMoney[playerid])
                    {
                        
SendClientMessage(playeridCOLOR_GREY"* Nu ai bani pentru a scoate vehicolul! !");
                        return 
1;
                    }
                    new 
bouse PlayerInfo[playerid][pPbiskey];
                    
OnPropTextdrawUpdate(3bouse-100); // i want this too work!!
                    
GetPlayerName(TCCTicketOffer[playerid], giveplayersizeof(giveplayer));
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
format(stringsizeof(string), "* Ai platit amenda in valoare de %dLei membrului Tcc %s."TCCTicketMoney[playerid], giveplayer);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
                    
format(stringsizeof(string), "* %s a platit amenda de %dLei."sendernameTCCTicketMoney[playerid]);
                    
SendClientMessage(TCCTicketOffer[playerid], COLOR_LIGHTBLUEstring);
                    
GivePlayerCash(playerid, - TCCTicketMoney[playerid]);
                    
OnPropUpdate();
                    
OnPlayerUpdateEx(playerid);
                    
SBizzInfo[9][sbTill] += TCCTicketMoney[playerid];
                    
TCCTicketOffer[playerid] = 999;
                    
TCCTicketMoney[playerid] = 0;
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   The Officer is not near you !");
                    return 
1;
                    }
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   No-one offered you a Ticket !");
                    return 
1;
                    }
                    } 
Reply
#2

give mee the errors


I think is this


PHP код:
if( listitem == 19 
                    { 
                    if(
TCCTicketOffer[playerid] < 999//muii 
                    

                    if(
IsPlayerConnected(TCCTicketOffer[playerid])) 
                    { 
                    if (
ProxDetectorS(5.0playeridTCCTicketOffer[playerid])) 
                    { 
                    if(
GetPlayerCash(playerid) < TCCTicketMoney[playerid]) 
                    { 
                        
SendClientMessage(playeridCOLOR_GREY"* Nu ai bani pentru a scoate vehicolul! !"); 
                    } 
                    new 
bouse PlayerInfo[playerid][pPbiskey]; 
                    
OnPropTextdrawUpdate(3bouse-100); // i want this too work!! 
                    
GetPlayerName(TCCTicketOffer[playerid], giveplayersizeof(giveplayer)); 
                    
GetPlayerName(playeridsendernamesizeof(sendername)); 
                    
format(stringsizeof(string), "* Ai platit amenda in valoare de %dLei membrului Tcc %s."TCCTicketMoney[playerid], giveplayer); 
                    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring); 
                    
format(stringsizeof(string), "* %s a platit amenda de %dLei."sendernameTCCTicketMoney[playerid]); 
                    
SendClientMessage(TCCTicketOffer[playerid], COLOR_LIGHTBLUEstring); 
                    
GivePlayerCash(playerid, - TCCTicketMoney[playerid]); 
                    
OnPropUpdate(); 
                    
OnPlayerUpdateEx(playerid); 
                    
SBizzInfo[9][sbTill] += TCCTicketMoney[playerid]; 
                    
TCCTicketOffer[playerid] = 999
                    
TCCTicketMoney[playerid] = 0
                    } 
                    else 
                    { 
                    
SendClientMessage(playeridCOLOR_GREY"   The Officer is not near you !"); 
                    }
                    else 
                    { 
                    
SendClientMessage(playeridCOLOR_GREY"   No-one offered you a Ticket !"); 
                    } 
Reply
#3

no errors its just the OnPropTextdrawUpdate(3, bouse-100); it dosent work..
Reply
#4

PHP код:
OnPropTextdrawUpdate(3, -100); 
Try this
Reply
#5

no work..
Reply
#6

PHP код:
OnPropTextdrawUpdate(updateid
try this i thing will work try anything what is wrong ?

Gimme more informaions about this
Reply
#7

its dosent update the thing..
Reply
#8

bump
Reply
#9

Give mee more information for dhat

What you need to do ?

With dat i can give any next to work
Reply
#10

it dosent update textdraw.. i think i need biz but i tried all ways.. you try
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)