04.09.2017, 23:36
PHP код:
GetPlayerRPName(targetid, name, sizeof(name));
format(sub_str, sizeof(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_str, sub_str);
format(sub_str, sizeof(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_str, sub_str);
format(sub_str, sizeof(sub_str), "{33CCFF}[Details]{FFFFFF}: Married To:[%s] Affiliation:[%s] Rank:[%d]",married,GetPlayerFactionName(targetid),PlayerInfo[targetid][pRank]);
strcat(primary_str, sub_str);
format(sub_str, sizeof(sub_str), "{33CCFF}[Upgrades]{FFFFFF}: Upgrade Points:[%d] Armor Upgrade:[%d] Health Upgrade:[%d] VIP:[%s]",points,shealth,shp,vip);
strcat(primary_str, sub_str);
format(sub_str, sizeof(sub_str), "{33CCFF}[Property]{FFFFFF}: House:[%s] | Vehicle 1:[%s] | Vehicle 2:[%s] | Business:[%s]",htext,cartext1,cartext2,btext);
strcat(primary_str, sub_str);
format(sub_str, sizeof(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,products, wtc);
strcat(primary_str, sub_str);
format(sub_str, sizeof(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_str, sub_str);
format(sub_str, sizeof(sub_str), "{33CCFF}[Inventory]{FFFFFF}: Rod:[%s] Bait:[%s] Bait Left:[%d] Fishing Line[%s]", rod, bait, baita, line);
strcat(primary_str, sub_str);
format(sub_str, sizeof(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_str, sub_str);
if(PlayerInfo[playerid][pAdmin] >= 2)
{
format(sub_str, sizeof(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_str, sub_str);
format(sub_str, sizeof(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_str, sub_str);
}
}
return 1;
}