Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

sendclientmessage to msgbox ? +REP

$
0
0
i dont know how to make this appears in Dialo MSGbox
PHP Code:

        SendClientMessage(playeridCOLOR_YELLOW"_______________________________________________________________________________________");
        
format(coordsstringsizeof(coordsstring), "{33CCFF}[Account]{FFFFFF}: Name:[%s] Sex:[%s] Level:[%d] Respect:[%d/%d] Phone:[%d]",PlayerRPName(targetid),atext,level,exp,expamount,pnumber);
        
SendClientMessage(playeridCOLOR_WHITE,coordsstring);
        
format(coordsstringsizeof(coordsstring), "{33CCFF}[Details]{FFFFFF}: Money:[$%d] Bank:[$%d] Next Level Cost:[%d] Job:[%s] Job Level:[%s]",cash,account,costlevel,jtext,jlevel);
        
SendClientMessage(playeridCOLOR_WHITE,coordsstring);
        
format(coordsstringsizeof(coordsstring), "{33CCFF}[Details]{FFFFFF}: Married To:[%s] Affiliation:[%s] Rank:[%d]",married,GetPlayerFactionName(targetid),PlayerInfo[targetid][pRank]);
        
SendClientMessage(playeridCOLOR_WHITE,coordsstring);
        
format(coordsstringsizeof(coordsstring), "{33CCFF}[Upgrades]{FFFFFF}: Upgrade Points:[%d] Armor Upgrade:[%d] Health Upgrade:[%d] VIP:[%s]",points,shealth,shp,vip);
        
SendClientMessage(playeridCOLOR_WHITE,coordsstring);
        
format(coordsstringsizeof(coordsstring), "{33CCFF}[Property]{FFFFFF}: House:[%s] | Vehicle 1:[%s] | Vehicle 2:[%s] | Business:[%s]",htext,cartext1,cartext2,btext);
           
SendClientMessage(playeridCOLOR_WHITE,coordsstring);
           
format(coordsstringsizeof(coordsstring), "{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);
           
SendClientMessage(playeridCOLOR_WHITE,coordsstring);
           
format(coordsstringsizeof(coordsstring), "{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);
           
SendClientMessage(playeridCOLOR_WHITE,coordsstring);
           
format(coordsstringsizeof(coordsstring), "{33CCFF}[Inventory]{FFFFFF}: Rod:[%s] Bait:[%s] Bait Left:[%d] Fishing Line[%s]"rodbaitbaitaline);
           
SendClientMessage(playeridCOLOR_WHITE,coordsstring);
           
format(coordsstringsizeof(coordsstring), "{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);
           
SendClientMessage(playeridCOLOR_WHITE,coordsstring);
        if(
PlayerInfo[playerid][pAdmin] >= 2)
        {
            
format(coordsstringsizeof(coordsstring), "{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]);
            
SendClientMessage(playeridCOLOR_GRAD5,coordsstring);
            
format(coordsstringsizeof(coordsstring), "{F00000}[Admin Info]{FFFFFF} Int: %d | VW: %d | Warnings: %d | JailTime: %d | Tikis: %d | Skin: %d",intir,vw,warns,jtime,tikis,skin);
            
SendClientMessage(playeridCOLOR_GRAD5,coordsstring);
        }
        
SendClientMessage(playeridCOLOR_YELLOW"____________________________________________");
    }
    return 
1;



Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>