sendclientmessage to msgbox ? +REP
#9

PHP код:
        GetPlayerRPName(targetidnamesizeof(name));
        
format(sub_strsizeof(sub_str), "{33CCFF}[Account]{FFFFFF}: Name:[%s] Sex:[%s] Level:[%d] Respect:[%d/%d] Phone:[%d]",PlayerRPName(targetid),atext,level,exp,expamount,pnumber);
        
strcat(primary_strsub_str);
        
format(sub_strsizeof(sub_str), "{33CCFF}[Details]{FFFFFF}: Money:[$%d] Bank:[$%d] Next Level Cost:[%d] Job:[%s] Job Level:[%s]",cash,account,costlevel,jtext,jlevel);
        
strcat(primary_strsub_str);
        
format(sub_strsizeof(sub_str), "{33CCFF}[Details]{FFFFFF}: Married To:[%s] Affiliation:[%s] Rank:[%d]",married,GetPlayerFactionName(targetid),PlayerInfo[targetid][pRank]);
        
strcat(primary_strsub_str);
        
format(sub_strsizeof(sub_str), "{33CCFF}[Upgrades]{FFFFFF}: Upgrade Points:[%d] Armor Upgrade:[%d] Health Upgrade:[%d] VIP:[%s]",points,shealth,shp,vip);
        
strcat(primary_strsub_str);
        
format(sub_strsizeof(sub_str), "{33CCFF}[Property]{FFFFFF}: House:[%s] | Vehicle 1:[%s] | Vehicle 2:[%s] | Business:[%s]",htext,cartext1,cartext2,btext);
           
strcat(primary_strsub_str);
           
format(sub_strsizeof(sub_str), "{33CCFF}[Inventory]{FFFFFF}: Materials:[%d] Pot:[%d] Crack:[%d] Package:[%d] Crates:[%d] Seeds:[%d] Products:[%d] WTc:[%d]",mats,pot,crack,packages,crates,potseeds,productswtc);
           
strcat(primary_strsub_str);
           
format(sub_strsizeof(sub_str), "{33CCFF}[Inventory]{FFFFFF}: Ropes:[%d] Blindfolds:[%d] Cigars:[%d] Sprunk:[%d] Spraycan:[%d] Screw Driver:[%d] Deck of Cards:[%d]",rope,blindfolds,cigars,sprunk,spray,screw,deck);
           
strcat(primary_strsub_str);
           
format(sub_strsizeof(sub_str), "{33CCFF}[Inventory]{FFFFFF}: Rod:[%s] Bait:[%s] Bait Left:[%d] Fishing Line[%s]"rodbaitbaitaline);
           
strcat(primary_strsub_str);
           
format(sub_strsizeof(sub_str), "{33CCFF}[Records]{FFFFFF}: Playing Hours:[%d] Kills:[%d] Deaths:[%d] Biggest Fish:[%d] Crimes Commited:[%d] Times Arrested:[%d]",ptime,kills,deaths,bigfish,crimes,arrested);
           
strcat(primary_strsub_str);
        if(
PlayerInfo[playerid][pAdmin] >= 2)
        {
            
format(sub_strsizeof(sub_str), "{F00000}[Admin Info]{FFFFFF} Vehicle 1 ID: %d | Vehicle 1 TID: %d | Vehicle 2 ID: %d | Vehicle 2 TID: %d"PlayerInfo[targetid][pCar][0], CarInfo[PlayerInfo[targetid][pCar][0]][c_ID], PlayerInfo[targetid][pCar][1], CarInfo[PlayerInfo[targetid][pCar][1]][c_ID]);
            
strcat(primary_strsub_str);
            
format(sub_strsizeof(sub_str), "{F00000}[Admin Info]{FFFFFF} Int: %d | VW: %d | Warnings: %d | JailTime: %d | Tikis: %d | Skin: %d",intir,vw,warns,jtime,tikis,skin);
            
strcat(primary_strsub_str);
        }
    }
    return 
1;

Reply


Messages In This Thread
sendclientmessage to msgbox ? +REP - by BadJih - 04.09.2017, 22:04
Re: sendclientmessage to msgbox ? +REP - by BadJih - 04.09.2017, 22:23
Re: sendclientmessage to msgbox ? +REP - by BadJih - 04.09.2017, 22:27
Re: sendclientmessage to msgbox ? +REP - by Meller - 04.09.2017, 22:31
Re: sendclientmessage to msgbox ? +REP - by Kane - 04.09.2017, 22:35
Re: sendclientmessage to msgbox ? +REP - by BadJih - 04.09.2017, 22:46
Re: sendclientmessage to msgbox ? +REP - by BadJih - 04.09.2017, 23:28
Re: sendclientmessage to msgbox ? +REP - by Kane - 04.09.2017, 23:35
Re: sendclientmessage to msgbox ? +REP - by BadJih - 04.09.2017, 23:36
Re: sendclientmessage to msgbox ? +REP - by Kane - 04.09.2017, 23:41

Forum Jump:


Users browsing this thread: 1 Guest(s)