[Pomoc] Stats

Započeo [BE:RP]Dzoni, Jun 06, 2013, 13:06:28 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim: bu-rp
Detaljan opis problema: ocu da promjenim stats,al ne znam da ga napravim,evo slika stats koji ocu da stavim.
Dio skripte:/
Neke slike/video za lakse dobivanje pomoci(neobavezno):
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

nadji funkciju showstats i tu izmenjuj

Ne znam, nece ... ne mogu da uspijemm nikako.. pa evo da vidite sta imam
//STATS TEXTDRAWS
format(coordsstring, sizeof(coordsstring),"~y~Ime:~h~~h~ %s",name);
Textdraw0[playerid] = TextDrawCreate(150.000000, 341.000000, coordsstring);
TextDrawBackgroundColor(Textdraw0[playerid], 255);
TextDrawFont(Textdraw0[playerid], 1);
TextDrawLetterSize(Textdraw0[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw0[playerid], -1);
TextDrawSetOutline(Textdraw0[playerid], 0);
TextDrawSetProportional(Textdraw0[playerid], 1);
TextDrawSetShadow(Textdraw0[playerid], 1);

format(coordsstring, sizeof(coordsstring),"~y~Pol:~h~~h~ %s",atext);
Textdraw1[playerid] = TextDrawCreate(151.000000, 361.000000, coordsstring);
TextDrawBackgroundColor(Textdraw1[playerid], 255);
TextDrawFont(Textdraw1[playerid], 1);
TextDrawLetterSize(Textdraw1[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw1[playerid], -1);
TextDrawSetOutline(Textdraw1[playerid], 0);
TextDrawSetProportional(Textdraw1[playerid], 1);
TextDrawSetShadow(Textdraw1[playerid], 1);

    format(coordsstring, sizeof(coordsstring),"~y~Godine:~h~~h~ %d",age);
Textdraw2[playerid] = TextDrawCreate(151.000000, 381.000000,coordsstring);
TextDrawBackgroundColor(Textdraw2[playerid], 255);
TextDrawFont(Textdraw2[playerid], 1);
TextDrawLetterSize(Textdraw2[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw2[playerid], -1);
TextDrawSetOutline(Textdraw2[playerid], 0);
TextDrawSetProportional(Textdraw2[playerid], 1);
TextDrawSetShadow(Textdraw2[playerid], 1);

    format(coordsstring, sizeof(coordsstring),"~y~Level:~h~~h~ %d",level);
Textdraw3[playerid] = TextDrawCreate(151.000000, 401.000000,coordsstring);
TextDrawBackgroundColor(Textdraw3[playerid], 255);
TextDrawFont(Textdraw3[playerid], 1);
TextDrawLetterSize(Textdraw3[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw3[playerid], -1);
TextDrawSetOutline(Textdraw3[playerid], 0);
TextDrawSetProportional(Textdraw3[playerid], 1);
TextDrawSetShadow(Textdraw3[playerid], 1);

    format(coordsstring, sizeof(coordsstring),"~y~Respekt:~h~~h~ %d/%d",exp,expamount);
Textdraw4[playerid] = TextDrawCreate(151.000000, 421.000000,coordsstring);
TextDrawBackgroundColor(Textdraw4[playerid], 255);
TextDrawFont(Textdraw4[playerid], 1);
TextDrawLetterSize(Textdraw4[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw4[playerid], -1);
TextDrawSetOutline(Textdraw4[playerid], 0);
TextDrawSetProportional(Textdraw4[playerid], 1);
TextDrawSetShadow(Textdraw4[playerid], 1);

    format(coordsstring, sizeof(coordsstring),"~y~Warns:~h~~h~ %d/5",warns);
Textdraw5[playerid] = TextDrawCreate(310.000000, 341.000000,coordsstring);
TextDrawBackgroundColor(Textdraw5[playerid], 255);
TextDrawFont(Textdraw5[playerid], 1);
TextDrawLetterSize(Textdraw5[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw5[playerid], -1);
TextDrawSetOutline(Textdraw5[playerid], 0);
TextDrawSetProportional(Textdraw5[playerid], 1);
TextDrawSetShadow(Textdraw5[playerid], 1);

    format(coordsstring, sizeof(coordsstring),"~y~O.Sati:~h~~h~ %d",ptime);
Textdraw6[playerid] = TextDrawCreate(310.000000, 361.000000,coordsstring);
TextDrawBackgroundColor(Textdraw6[playerid], 255);
TextDrawFont(Textdraw6[playerid], 1);
TextDrawLetterSize(Textdraw6[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw6[playerid], -1);
TextDrawSetOutline(Textdraw6[playerid], 0);
TextDrawSetProportional(Textdraw6[playerid], 1);
TextDrawSetShadow(Textdraw6[playerid], 1);

    format(coordsstring, sizeof(coordsstring),"~y~Kredit:~h~~h~ %d",kreditbr);
Textdraw7[playerid] = TextDrawCreate(310.000000, 381.000000,coordsstring);
TextDrawBackgroundColor(Textdraw7[playerid], 255);
TextDrawFont(Textdraw7[playerid], 1);
TextDrawLetterSize(Textdraw7[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw7[playerid], -1);
TextDrawSetOutline(Textdraw7[playerid], 0);
TextDrawSetProportional(Textdraw7[playerid], 1);
TextDrawSetShadow(Textdraw7[playerid], 1);

    format(coordsstring, sizeof(coordsstring),"~y~Donator:~h~~h~ %s",drank);
Textdraw8[playerid] = TextDrawCreate(310.000000, 401.000000,coordsstring);
TextDrawBackgroundColor(Textdraw8[playerid], 255);
TextDrawFont(Textdraw8[playerid], 1);
TextDrawLetterSize(Textdraw8[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw8[playerid], -1);
TextDrawSetOutline(Textdraw8[playerid], 0);
TextDrawSetProportional(Textdraw8[playerid], 1);
TextDrawSetShadow(Textdraw8[playerid], 1);

    format(coordsstring, sizeof(coordsstring),"~y~Broj:~h~~h~ %d",pnumber);
Textdraw9[playerid] = TextDrawCreate(310.000000, 421.000000,coordsstring);
TextDrawBackgroundColor(Textdraw9[playerid], 255);
TextDrawFont(Textdraw9[playerid], 1);
TextDrawLetterSize(Textdraw9[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw9[playerid], -1);
TextDrawSetOutline(Textdraw9[playerid], 0);
TextDrawSetProportional(Textdraw9[playerid], 1);
TextDrawSetShadow(Textdraw9[playerid], 1);

    format(coordsstring, sizeof(coordsstring),"~y~Posao:~h~~h~ %s",jtext);
Textdraw10[playerid] = TextDrawCreate(470.000000, 341.000000,coordsstring);
TextDrawBackgroundColor(Textdraw10[playerid], 255);
TextDrawFont(Textdraw10[playerid], 1);
TextDrawLetterSize(Textdraw10[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw10[playerid], -1);
TextDrawSetOutline(Textdraw10[playerid], 0);
TextDrawSetProportional(Textdraw10[playerid], 1);
TextDrawSetShadow(Textdraw10[playerid], 1);

    format(coordsstring, sizeof(coordsstring),"~y~Org:~h~~h~ %s",ftext);
Textdraw11[playerid] = TextDrawCreate(470.000000, 361.000000,coordsstring);
TextDrawBackgroundColor(Textdraw11[playerid], 255);
TextDrawFont(Textdraw11[playerid], 1);
TextDrawLetterSize(Textdraw11[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw11[playerid], -1);
TextDrawSetOutline(Textdraw11[playerid], 0);
TextDrawSetProportional(Textdraw11[playerid], 1);
TextDrawSetShadow(Textdraw11[playerid], 1);

    format(coordsstring, sizeof(coordsstring),"~y~Rank:~h~~h~ %s",rtext);
Textdraw12[playerid] = TextDrawCreate(470.000000, 381.000000,coordsstring);
TextDrawBackgroundColor(Textdraw12[playerid], 255);
TextDrawFont(Textdraw12[playerid], 1);
TextDrawLetterSize(Textdraw12[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw12[playerid], -1);
TextDrawSetOutline(Textdraw12[playerid], 0);
TextDrawSetProportional(Textdraw12[playerid], 1);
TextDrawSetShadow(Textdraw12[playerid], 1);

    format(coordsstring, sizeof(coordsstring),"~y~Droga:~h~~h~ %d",drugs);
Textdraw13[playerid] = TextDrawCreate(470.000000, 401.000000,coordsstring);
TextDrawBackgroundColor(Textdraw13[playerid], 255);
TextDrawFont(Textdraw13[playerid], 1);
TextDrawLetterSize(Textdraw13[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw13[playerid], -1);
TextDrawSetOutline(Textdraw13[playerid], 0);
TextDrawSetProportional(Textdraw13[playerid], 1);
TextDrawSetShadow(Textdraw13[playerid], 1);

    format(coordsstring, sizeof(coordsstring),"~y~Mats:~h~~h~ %d",mats);
Textdraw14[playerid] = TextDrawCreate(470.000000, 421.000000,coordsstring);
TextDrawBackgroundColor(Textdraw14[playerid], 255);
TextDrawFont(Textdraw14[playerid], 1);
TextDrawLetterSize(Textdraw14[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw14[playerid], -1);
TextDrawSetOutline(Textdraw14[playerid], 0);
TextDrawSetProportional(Textdraw14[playerid], 1);
TextDrawSetShadow(Textdraw14[playerid], 1);


Moze li mi neko pomoc?
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

Evo
//-------------------------------[Stats]--------------------------------------------------------------------------
if (strcmp(cmd, "/stats", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if (gPlayerLogged[playerid] != 0)
{
    if(pokazanistatsi[playerid] == 0)
    {
ShowStats(playerid,playerid);
GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "* %s gleda u svoj PDA uredjaj", sendername);
    ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    TextDrawShowForPlayer(playerid,Text:Textdraw0[playerid]);
    TextDrawShowForPlayer(playerid,Text:Textdraw1[playerid]);
    TextDrawShowForPlayer(playerid,Text:Textdraw2[playerid]);
    TextDrawShowForPlayer(playerid,Text:Textdraw3[playerid]);
    TextDrawShowForPlayer(playerid,Text:Textdraw4[playerid]);
    TextDrawShowForPlayer(playerid,Text:Textdraw5[playerid]);
    TextDrawShowForPlayer(playerid,Text:Textdraw6[playerid]);
    TextDrawShowForPlayer(playerid,Text:Textdraw7[playerid]);
    TextDrawShowForPlayer(playerid,Text:Textdraw8[playerid]);
    TextDrawShowForPlayer(playerid,Text:Textdraw9[playerid]);
    TextDrawShowForPlayer(playerid,Text:Textdraw10[playerid]);
    TextDrawShowForPlayer(playerid,Text:Textdraw11[playerid]);
    TextDrawShowForPlayer(playerid,Text:Textdraw12[playerid]);
    TextDrawShowForPlayer(playerid,Text:Textdraw13[playerid]);
    TextDrawShowForPlayer(playerid,Text:Textdraw14[playerid]);
    TextDrawShowForPlayer(playerid,Text:Textdraw15[playerid]);
    pokazanistatsi[playerid] = 1;
    }
    else if(pokazanistatsi[playerid] == 1)
    {
TextDrawHideForPlayer(playerid, Textdraw0[playerid]);
TextDrawHideForPlayer(playerid, Textdraw1[playerid]);
TextDrawHideForPlayer(playerid, Textdraw2[playerid]);
TextDrawHideForPlayer(playerid, Textdraw3[playerid]);
TextDrawHideForPlayer(playerid, Textdraw4[playerid]);
TextDrawHideForPlayer(playerid, Textdraw5[playerid]);
TextDrawHideForPlayer(playerid, Textdraw6[playerid]);
TextDrawHideForPlayer(playerid, Textdraw7[playerid]);
TextDrawHideForPlayer(playerid, Textdraw8[playerid]);
TextDrawHideForPlayer(playerid, Textdraw9[playerid]);
TextDrawHideForPlayer(playerid, Textdraw10[playerid]);
TextDrawHideForPlayer(playerid, Textdraw11[playerid]);
TextDrawHideForPlayer(playerid, Textdraw12[playerid]);
TextDrawHideForPlayer(playerid, Textdraw13[playerid]);
TextDrawHideForPlayer(playerid, Textdraw14[playerid]);
TextDrawHideForPlayer(playerid, Textdraw15[playerid]);
TextDrawDestroy(Textdraw0[playerid]);
TextDrawDestroy(Textdraw1[playerid]);
TextDrawDestroy(Textdraw2[playerid]);
TextDrawDestroy(Textdraw3[playerid]);
TextDrawDestroy(Textdraw4[playerid]);
TextDrawDestroy(Textdraw5[playerid]);
TextDrawDestroy(Textdraw6[playerid]);
TextDrawDestroy(Textdraw7[playerid]);
TextDrawDestroy(Textdraw8[playerid]);
TextDrawDestroy(Textdraw9[playerid]);
TextDrawDestroy(Textdraw10[playerid]);
TextDrawDestroy(Textdraw11[playerid]);
TextDrawDestroy(Textdraw12[playerid]);
TextDrawDestroy(Textdraw13[playerid]);
TextDrawDestroy(Textdraw14[playerid]);
TextDrawDestroy(Textdraw15[playerid]);
pokazanistatsi[playerid] = 0;
    }
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "   Niste prijavljeni!");
}
}
return 1;
}
if (strcmp(cmd, "/oldstats", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if (gPlayerLogged[playerid] != 0)
{
ShowOldStats(playerid,playerid);
GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "* %s gleda u svoj PDA uredjaj", sendername);
    ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "   Niste prijavljeni!");
}
}
return 1;
}
if(strcmp(cmd, "/down", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if (PlayerInfo[playerid][pAdmin] >= 1)
{
new Float:slx, Float:sly, Float:slz;
GetPlayerPos(playerid, slx, sly, slz);
SetPlayerPos(playerid, slx, sly, slz-2);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "   Niste admin !");
}
}
return 1;
}
if(strcmp(cmd, "/up", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if (PlayerInfo[playerid][pAdmin] >= 1)
{
new Float:slx, Float:sly, Float:slz;
GetPlayerPos(playerid, slx, sly, slz);
SetPlayerPos(playerid, slx, sly, slz+2);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "   Niste admin !");
}
}
return 1;
}
if (strcmp(cmd, "/fly", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if (PlayerInfo[playerid][pAdmin] >= 1)
{
new Float:px, Float:py, Float:pz, Float:pa;
GetPlayerFacingAngle(playerid,pa);
if(pa >= 0.0 && pa <= 22.5) //n1
{
GetPlayerPos(playerid, px, py, pz);
SetPlayerPos(playerid, px, py+30, pz+5);
}
if(pa >= 332.5 && pa < 0.0) //n2
{
GetPlayerPos(playerid, px, py, pz);
SetPlayerPos(playerid, px, py+30, pz+5);
}
if(pa >= 22.5 && pa <= 67.5) //nw
{
GetPlayerPos(playerid, px, py, pz);
SetPlayerPos(playerid, px-15, py+15, pz+5);
}
if(pa >= 67.5 && pa <= 112.5) //w
{
GetPlayerPos(playerid, px, py, pz);
SetPlayerPos(playerid, px-30, py, pz+5);
}
if(pa >= 112.5 && pa <= 157.5) //sw
{
GetPlayerPos(playerid, px, py, pz);
SetPlayerPos(playerid, px-15, py-15, pz+5);
}
if(pa >= 157.5 && pa <= 202.5) //s
{
GetPlayerPos(playerid, px, py, pz);
SetPlayerPos(playerid, px, py-30, pz+5);
}
if(pa >= 202.5 && pa <= 247.5)//se
{
GetPlayerPos(playerid, px, py, pz);
SetPlayerPos(playerid, px+15, py-15, pz+5);
}
if(pa >= 247.5 && pa <= 292.5)//e
{
GetPlayerPos(playerid, px, py, pz);
SetPlayerPos(playerid, px+30, py, pz+5);
}
if(pa >= 292.5 && pa <= 332.5)//e
{
GetPlayerPos(playerid, px, py, pz);
SetPlayerPos(playerid, px+15, py+15, pz+5);
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "   Niste admin !");
}
}
return 1;
}
if(strcmp(cmd, "/lt", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if (PlayerInfo[playerid][pAdmin] >= 1)
{
new Float:slx, Float:sly, Float:slz;
GetPlayerPos(playerid, slx, sly, slz);
SetPlayerPos(playerid, slx, sly+2, slz);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "   Niste admin !");
}
}
return 1;
}
if(strcmp(cmd, "/rt", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if (PlayerInfo[playerid][pAdmin] >= 1)
{
new Float:slx, Float:sly, Float:slz;
GetPlayerPos(playerid, slx, sly, slz);
SetPlayerPos(playerid, slx, sly-2, slz-2);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "   Niste admin !");
}
}
return 1;
}
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;


forward ShowOldStats(playerid,targetid);

public ShowOldStats(playerid,targetid)
{
    if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
   {
      new cash =  GetPlayerMoney(targetid);
      new atext[20];
      if(PlayerInfo[targetid][pSex] == 1) { atext = "Musko"; }
      else if(PlayerInfo[targetid][pSex] == 2) { atext = "Zensko"; }
        new otext[20];
      if(PlayerInfo[targetid][pOrigin] == 1) { otext = "Srbija"; }
      else if(PlayerInfo[targetid][pOrigin] == 2) { otext = "Crna_Gora"; }
      else if(PlayerInfo[targetid][pOrigin] == 3) { otext = "BiH"; }
      else if(PlayerInfo[targetid][pOrigin] == 4) { otext = "Hrvatska"; }
      else if(PlayerInfo[targetid][pOrigin] == 4) { otext = "Ostalo"; }
      new ttext[20];
      if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Medic"; }
      else if(gTeam[targetid] == 3 || gTeam[targetid] == 4) { ttext = "Civilian"; }
      else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1) { ttext = "LS PD"; }
      else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2) { ttext = "FBI Agent"; }
      else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3) { ttext = "SWAT"; }
      else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Vatrogasac/Bolnicar"; }
      else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5) { ttext = "Yakuza"; }
      else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6) { ttext = "LCN"; }
      else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7) { ttext = "Government"; }
      else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8) { ttext = "Hitman"; }
      else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9) { ttext = "Novinar"; }
      else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10) { ttext = "Taxi"; }
      else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11) { ttext = "SF PD"; }
      else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12) { ttext = "Ruska Mafija"; }
      else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13) { ttext = "Triads"; }
      //else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14) { ttext = "Yamaguchi"; }
      else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15) { ttext = "Crips"; }
      else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16) { ttext = "Bloods"; }
      else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17) { ttext = "CIA"; }
      new dtext[20];
      if(STDPlayer[targetid] == 1) { dtext = "Chlamydia"; }
      else if(STDPlayer[targetid] == 2) { dtext = "Gonorrhea"; }
      else if(STDPlayer[targetid] == 3) { dtext = "Syphilis"; }
      else { dtext = "None"; }
       new ftext[30];
       if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)
      { ftext = "LS PD"; }
        else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)
      { ftext = "FBI"; }
      else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)
      { ftext = "SWAT"; }
        else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)
      { ftext = "Hitna Pomoc"; }
        else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)
      { ftext = "Yakuza"; }
      else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)
      { ftext = "LCN"; }
      else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7)
      { ftext = "Vlada"; }
      else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)
      { ftext = "Hitman Org"; }
      else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)
      { ftext = "Novinari"; }
      else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)
      { ftext = "TAXI"; }
      else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)
      { ftext = "SF PD"; }
      else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)
      { ftext = "Ruska Mafija"; }
      else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)
      { ftext = "Triads"; }
      //else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)
      //{ ftext = "Yamaguchi"; }
      else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)
      { ftext = "Crips"; }
      else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)
      { ftext = "Bloods"; }
/*      else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17)
      { ftext = "CIA"; }*/
      else
      { ftext = "Nijedna"; }
      new f2text[20];
       if(PlayerInfo[targetid][pFMember] < 255) { f2text = FamilyInfo[PlayerInfo[targetid][pFMember]][FamilyName]; }
      else { f2text = "Nijedna"; }
       new rtext[64];
       if(gTeam[targetid] == 5 || PlayerInfo[targetid][pFMember] < 255)//The 2 Organisations
       {
           if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Associate"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Soldier"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Capo"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Underboss"; }
           else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Godfather"; }
         else { rtext = "Outsider"; }
      }
      else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)//PD Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Cadet"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Police Officer"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Corporal"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sergeant"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant"; }
           else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Captain"; }
         else { rtext = "Cadet"; }
      }
      else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//FBI Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "FBI saradnik"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Specijalni agent"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Agent za specijalne operacije"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Agent obavestajne sluzbee"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Sef obavestajne sluzbe"; }
          else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Lider"; }
         else { rtext = "Intern"; }
      }
      else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)//NG Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Private"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Sergeant"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Major"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Captain"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant"; }
          else if(PlayerInfo[targetid][pRank] == 6) { rtext = "General"; }
         else { rtext = "Private"; }
      }
      else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)//MEdic Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Pocetnik"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Doktor"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Doktor"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Doktor"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Doktor"; }
          else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Upravnik Bolnice"; }
         else { rtext = "Private"; }
      }
      else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//Yakuza Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Forastero"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Asociado"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Miembro"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Proscrito"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Mano Derecha"; }
           else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Corona"; }
         else { rtext = "Guero"; }
      }
      else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)//LCN Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Giovane D'honore"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Piciotto"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sgarrista"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capo"; }
           else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Under Boss"; }
           else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Consigliere"; }
           else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Boss"; }
         else { rtext = "Outsider"; }
      }
      else if(PlayerInfo[targetid][pMember] == 7)//Mayor ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Mayor's driver"; }
          else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Mayor's bodyguard"; }
          else if(PlayerInfo[targetid][pLeader] == 7) { rtext = "Mayor"; }
          else { rtext = "None"; }
      }
      else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)//Hitman Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Freelancer"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Marksman"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Agent"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Special Agent"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Vice-Director"; }
          else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Director"; }
         else { rtext = "Freelancer"; }
      }
      else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)//NR Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Intern Worker"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Journalist"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Head Journalist"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Company Secretary"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "ABC Manager"; }
          else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Network Producer"; }
         else { rtext = "Intern Worker"; }
      }
      else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)//Taxi Company Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Trainee"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Taxi Rookie"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Cabbie"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Dispatcher"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Shift Supervisor"; }
          else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Taxi Company Owner"; }
         else { rtext = "Trainee"; }
      }
      else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)//SF PD RANKS
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Cadet"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Police Officer"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Corporal"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sergeant"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant"; }
           else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Captain"; }
         else { rtext = "Cadet"; }
      }
      else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)//Ruska Mafija Rankovi
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Giovane D'honore"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Piciotto"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sgarrista"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capo"; }
           else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Under Boss"; }
         else { rtext = "Outsider"; }
      }
      else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)//Triads Rankovi
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Giovane D'honore"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Piciotto"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sgarrista"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capo"; }
           else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Under Boss"; }
         else { rtext = "Outsider"; }
      }
      /*
      else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)//Yamaguchi ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Gaij in"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Wakashu"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Shatei"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Capo"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Don's right hand"; }
           else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Don"; }
         else { rtext = "Gaij in"; }
      }
      */
      else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)//Crips gang Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Gangsta"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Thug"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Soulja"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "O.G"; }
         else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Senior O.G"; }
           else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Top O.G"; }
         else { rtext = "Outsider"; }
      }
      else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)//Bloods gang Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Dumb Hoe"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Outsider"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Soulja"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Blood Pusher"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Blood Runner"; }
         else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Thug"; }
          else if(PlayerInfo[targetid][pRank] == 7) { rtext = "O.G"; }
          else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Double O.G"; }
          else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Kingpin"; }
         else { rtext = "Dumb Hoe"; }
      }
      else
      {
          rtext = "None";
      }
        new jtext[20];
        if(PlayerInfo[targetid][pJob] == 1) { jtext = "Detektiv"; }
        else if(PlayerInfo[targetid][pJob] == 2) { jtext = "Advokat"; }
        else if(PlayerInfo[targetid][pJob] == 3) { jtext = "Prostitutka"; }
        else if(PlayerInfo[targetid][pJob] == 4) { jtext = "Diler droge"; }
        else if(PlayerInfo[targetid][pJob] == 5) { jtext = "Kradljivac auta"; }
        else if(PlayerInfo[targetid][pJob] == 6) { jtext = "Novinar"; }
        else if(PlayerInfo[targetid][pJob] == 7) { jtext = "Automehanicar"; }
        else if(PlayerInfo[targetid][pJob] == 8) { jtext = "Bodyguard"; }
        else if(PlayerInfo[targetid][pJob] == 9) { jtext = "Diler oruzija"; }
        else if(PlayerInfo[targetid][pJob] == 10) { jtext = "Diler auta"; }
        else if(PlayerInfo[targetid][pJob] == 11) { jtext = "Radnik"; }
      else if(PlayerInfo[targetid][pJob] == 12) { jtext = "Bokser"; }
        else if(PlayerInfo[targetid][pJob] == 14) { jtext = "Vozac busa"; }
        else if(PlayerInfo[targetid][pJob] == 15) { jtext = "Raznosac novina"; }
        else if(PlayerInfo[targetid][pJob] == 16) { jtext = "Kamiondzija"; }
        else if(PlayerInfo[targetid][pJob] == 17) { jtext = "Raznosac pice"; }
        else if(PlayerInfo[targetid][pJob] == 18) { jtext = "Farmer"; }
        else if(PlayerInfo[targetid][pJob] == 19) { jtext = "Farmer droge"; }
        else if(PlayerInfo[targetid][pJob] == 20) { jtext = "Svercer droge"; }
        else if(PlayerInfo[targetid][pJob] == 21) { jtext = "Cistac ulica"; }
        else if(PlayerInfo[targetid][pJob] == 22) { jtext = "Svercer materijala"; }
        else if(PlayerInfo[targetid][pJob] == 23) { jtext = "Proizvodjac oruzija"; }
        else { jtext = "None"; }
      new drank[20];
      if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "Donator lvl 1"; }
      else if(PlayerInfo[targetid][pDonateRank] == 2) { drank = "Donator lvl 2"; }
      else if(PlayerInfo[targetid][pDonateRank] >= 3) { drank = "Donator lvl 3"; }
      else { drank = "None"; }
      /*new married[20];
      strmid(married, PlayerInfo[targetid][pMarriedTo], 0, strlen(PlayerInfo[targetid][pMarriedTo]), 255);*/
      new age = PlayerInfo[targetid][pAge];
      new ptime = PlayerInfo[targetid][pConnectTime];
      //new lotto = PlayerInfo[targetid][pLottoNr];
      //new deaths = PlayerInfo[targetid][pDeaths];
      //new fishes = PlayerInfo[targetid][pFishes];
      //new crimes = PlayerInfo[targetid][pCrimes];
      //new warrests = PlayerInfo[targetid][pWantedDeaths];
      new drugs = PlayerInfo[targetid][pDrugs];
      new mats = PlayerInfo[targetid][pMats];
      //new wanted = WantedLevel[targetid];
      new level = PlayerInfo[targetid][pLevel];
      new exp = PlayerInfo[targetid][pExp];
      //new kills = PlayerInfo[targetid][pKills];
      new pnumber = PlayerInfo[targetid][pPnumber];
      //new account = PlayerInfo[targetid][pAccount];
      new nxtlevel = PlayerInfo[targetid][pLevel]+1;
      new expamount = nxtlevel*levelexp;
      //new costlevel = nxtlevel*levelcost;//10k for testing purposes
      new housekey = PlayerInfo[targetid][pPhousekey];
      new bizkey = PlayerInfo[targetid][pPbiskey];
      new carkey = PlayerInfo[targetid][pPcarkey];
      new carkey2 = PlayerInfo[targetid][pPcarkey2];
      new carkey3 = PlayerInfo[targetid][pPcarkey3];
      new intir = PlayerInfo[targetid][pInt];
      new virworld = PlayerInfo[targetid][pVirWorld];
      new local = PlayerInfo[targetid][pLocal];
      //new Float:shealth = PlayerInfo[targetid][pSHealth];
      new Float:health;
      new name[MAX_PLAYER_NAME];
      GetPlayerName(targetid, name, sizeof(name));
      GetPlayerHealth(targetid,health);
      new Float:px,Float:py,Float:pz;
      GetPlayerPos(targetid, px, py, pz);
      new coordsstring[256];
      SendClientMessage(playerid, COLOR_RED," ");
      format(coordsstring, sizeof(coordsstring),"------------------------------------| %s |------------------------------------",name);
      SendClientMessage(playerid, COLOR_RED,coordsstring);
      format(coordsstring, sizeof(coordsstring), "- Level:[%d]  Pol:[%s]  Godine:[%d]  Novac:[$%d]  Br:[%d]", level,atext,age,cash,pnumber);
      SendClientMessage(playerid, COLOR_WHITE,coordsstring);
      format(coordsstring, sizeof(coordsstring), "- Odigranih Sati:[%d]  Posao:[%s]  Respekt:[%d/%d]  Donator:[%s]", ptime,jtext,exp,expamount,drank);
      SendClientMessage(playerid, COLOR_WHITE,coordsstring);
      format(coordsstring, sizeof(coordsstring), "- Droga:[%d]  Materijali:[%d]  Organizacija:[%s]  Rank:[%s]",drugs,mats,ftext,rtext);
      SendClientMessage(playerid, COLOR_WHITE,coordsstring);
      if (PlayerInfo[playerid][pAdmin] >= 1)
      {
         format(coordsstring, sizeof(coordsstring), "- House key [%d] Business key [%d] Veh1 [%d] Veh2 [%d] Veh3 [%d] HireKey [%d] int:[%d] virworld:[%d] local[%d]", housekey,bizkey,carkey,carkey2,carkey3,HireCar[targetid],intir,virworld,local);
         SendClientMessage(playerid, COLOR_GRAD6,coordsstring);
      }
      SendClientMessage(playerid, COLOR_RED,"------------------------------------------------------------------------------------------------");
   }
}
//---------------------------------------------------------
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

Sta da radim sa tim, i kako da dodam firmu,kucu,stan,3 slota kola?
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

E hvala i jos nesto me zanima,kao da  nekim odredjenim igracima dodam novi slot za auta, ali odredjenom igracu? al mi detaljno objasni jer sam probo par puta a nisam uspio
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

Kako da ih pronadjem?
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

vazi evo sacu
i gdje ovo da stavim,sa cim da zamjenim?
public ShowOldStats(playerid,targetid)
{
    if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
   {
      new cash =  GetPlayerMoney(targetid);
      new atext[20];
      if(PlayerInfo[targetid][pSex] == 1) { atext = "Musko"; }
      else if(PlayerInfo[targetid][pSex] == 2) { atext = "Zensko"; }
        new otext[20];
      if(PlayerInfo[targetid][pOrigin] == 1) { otext = "Srbija"; }
      else if(PlayerInfo[targetid][pOrigin] == 2) { otext = "Crna_Gora"; }
      else if(PlayerInfo[targetid][pOrigin] == 3) { otext = "BiH"; }
      else if(PlayerInfo[targetid][pOrigin] == 4) { otext = "Hrvatska"; }
      else if(PlayerInfo[targetid][pOrigin] == 4) { otext = "Ostalo"; }
      new ttext[20];
      if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Medic"; }
      else if(gTeam[targetid] == 3 || gTeam[targetid] == 4) { ttext = "Civilian"; }
      else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1) { ttext = "LS PD"; }
      else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2) { ttext = "FBI Agent"; }
      else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3) { ttext = "SWAT"; }
      else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Vatrogasac/Bolnicar"; }
      else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5) { ttext = "Yakuza"; }
      else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6) { ttext = "LCN"; }
      else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7) { ttext = "Government"; }
      else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] ==  { ttext = "Hitman"; }
      else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9) { ttext = "Novinar"; }
      else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10) { ttext = "Taxi"; }
      else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11) { ttext = "SF PD"; }
      else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12) { ttext = "Ruska Mafija"; }
      else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13) { ttext = "Triads"; }
      //else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14) { ttext = "Yamaguchi"; }
      else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15) { ttext = "Crips"; }
      else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16) { ttext = "Bloods"; }
      else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17) { ttext = "CIA"; }
      new dtext[20];
      if(STDPlayer[targetid] == 1) { dtext = "Chlamydia"; }
      else if(STDPlayer[targetid] == 2) { dtext = "Gonorrhea"; }
      else if(STDPlayer[targetid] == 3) { dtext = "Syphilis"; }
      else { dtext = "None"; }
       new ftext[30];
       if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)
      { ftext = "LS PD"; }
        else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)
      { ftext = "FBI"; }
      else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)
      { ftext = "SWAT"; }
        else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)
      { ftext = "Hitna Pomoc"; }
        else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)
      { ftext = "Yakuza"; }
      else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)
      { ftext = "LCN"; }
      else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7)
      { ftext = "Vlada"; }
      else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] ==
      { ftext = "Hitman Org"; }
      else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)
      { ftext = "Novinari"; }
      else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)
      { ftext = "TAXI"; }
      else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)
      { ftext = "SF PD"; }
      else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)
      { ftext = "Ruska Mafija"; }
      else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)
      { ftext = "Triads"; }
      //else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)
      //{ ftext = "Yamaguchi"; }
      else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)
      { ftext = "Crips"; }
      else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)
      { ftext = "Bloods"; }
/*      else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17)
      { ftext = "CIA"; }*/
      else
      { ftext = "Nijedna"; }
      new f2text[20];
       if(PlayerInfo[targetid][pFMember] < 255) { f2text = FamilyInfo[PlayerInfo[targetid][pFMember]][FamilyName]; }
      else { f2text = "Nijedna"; }
       new rtext[64];
       if(gTeam[targetid] == 5 || PlayerInfo[targetid][pFMember] < 255)//The 2 Organisations
       {
           if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Associate"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Soldier"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Capo"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Underboss"; }
           else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Godfather"; }
         else { rtext = "Outsider"; }
      }
      else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)//PD Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Cadet"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Police Officer"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Corporal"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sergeant"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant"; }
           else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Captain"; }
         else { rtext = "Cadet"; }
      }
      else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//FBI Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "FBI saradnik"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Specijalni agent"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Agent za specijalne operacije"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Agent obavestajne sluzbee"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Sef obavestajne sluzbe"; }
          else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Lider"; }
         else { rtext = "Intern"; }
      }
      else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)//NG Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Private"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Sergeant"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Major"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Captain"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant"; }
          else if(PlayerInfo[targetid][pRank] == 6) { rtext = "General"; }
         else { rtext = "Private"; }
      }
      else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)//MEdic Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Pocetnik"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Doktor"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Doktor"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Doktor"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Doktor"; }
          else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Upravnik Bolnice"; }
         else { rtext = "Private"; }
      }
      else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//Yakuza Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Forastero"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Asociado"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Miembro"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Proscrito"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Mano Derecha"; }
           else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Corona"; }
         else { rtext = "Guero"; }
      }
      else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)//LCN Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Giovane D'honore"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Piciotto"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sgarrista"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capo"; }
           else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Under Boss"; }
           else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Consigliere"; }
           else if(PlayerInfo[targetid][pRank] ==  { rtext = "Boss"; }
         else { rtext = "Outsider"; }
      }
      else if(PlayerInfo[targetid][pMember] == 7)//Mayor ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Mayor's driver"; }
          else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Mayor's bodyguard"; }
          else if(PlayerInfo[targetid][pLeader] == 7) { rtext = "Mayor"; }
          else { rtext = "None"; }
      }
      else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == //Hitman Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Freelancer"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Marksman"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Agent"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Special Agent"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Vice-Director"; }
          else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Director"; }
         else { rtext = "Freelancer"; }
      }
      else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)//NR Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Intern Worker"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Journalist"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Head Journalist"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Company Secretary"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "ABC Manager"; }
          else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Network Producer"; }
         else { rtext = "Intern Worker"; }
      }
      else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)//Taxi Company Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Trainee"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Taxi Rookie"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Cabbie"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Dispatcher"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Shift Supervisor"; }
          else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Taxi Company Owner"; }
         else { rtext = "Trainee"; }
      }
      else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)//SF PD RANKS
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Cadet"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Police Officer"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Corporal"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sergeant"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant"; }
           else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Captain"; }
         else { rtext = "Cadet"; }
      }
      else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)//Ruska Mafija Rankovi
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Giovane D'honore"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Piciotto"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sgarrista"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capo"; }
           else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Under Boss"; }
         else { rtext = "Outsider"; }
      }
      else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)//Triads Rankovi
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Giovane D'honore"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Piciotto"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Sgarrista"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capo"; }
           else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Under Boss"; }
         else { rtext = "Outsider"; }
      }
      /*
      else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)//Yamaguchi ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Gaij in"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Wakashu"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Shatei"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Capo"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Don's right hand"; }
           else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Don"; }
         else { rtext = "Gaij in"; }
      }
      */
      else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)//Crips gang Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Gangsta"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Thug"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Soulja"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "O.G"; }
         else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Senior O.G"; }
           else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Top O.G"; }
         else { rtext = "Outsider"; }
      }
      else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)//Bloods gang Ranks
      {
          if(PlayerInfo[targetid][pRank] == 1) { rtext = "Dumb Hoe"; }
         else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Outsider"; }
         else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Soulja"; }
         else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Blood Pusher"; }
         else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Blood Runner"; }
         else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Thug"; }
          else if(PlayerInfo[targetid][pRank] == 7) { rtext = "O.G"; }
          else if(PlayerInfo[targetid][pRank] ==  { rtext = "Double O.G"; }
          else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Kingpin"; }
         else { rtext = "Dumb Hoe"; }
      }
      else
      {
          rtext = "None";
      }
        new jtext[20];
        if(PlayerInfo[targetid][pJob] == 1) { jtext = "Detektiv"; }
        else if(PlayerInfo[targetid][pJob] == 2) { jtext = "Advokat"; }
        else if(PlayerInfo[targetid][pJob] == 3) { jtext = "Prostitutka"; }
        else if(PlayerInfo[targetid][pJob] == 4) { jtext = "Diler droge"; }
        else if(PlayerInfo[targetid][pJob] == 5) { jtext = "Kradljivac auta"; }
        else if(PlayerInfo[targetid][pJob] == 6) { jtext = "Novinar"; }
        else if(PlayerInfo[targetid][pJob] == 7) { jtext = "Automehanicar"; }
        else if(PlayerInfo[targetid][pJob] ==  { jtext = "Bodyguard"; }
        else if(PlayerInfo[targetid][pJob] == 9) { jtext = "Diler oruzija"; }
        else if(PlayerInfo[targetid][pJob] == 10) { jtext = "Diler auta"; }
        else if(PlayerInfo[targetid][pJob] == 11) { jtext = "Radnik"; }
      else if(PlayerInfo[targetid][pJob] == 12) { jtext = "Bokser"; }
        else if(PlayerInfo[targetid][pJob] == 14) { jtext = "Vozac busa"; }
        else if(PlayerInfo[targetid][pJob] == 15) { jtext = "Raznosac novina"; }
        else if(PlayerInfo[targetid][pJob] == 16) { jtext = "Kamiondzija"; }
        else if(PlayerInfo[targetid][pJob] == 17) { jtext = "Raznosac pice"; }
        else if(PlayerInfo[targetid][pJob] == 18) { jtext = "Farmer"; }
        else if(PlayerInfo[targetid][pJob] == 19) { jtext = "Farmer droge"; }
        else if(PlayerInfo[targetid][pJob] == 20) { jtext = "Svercer droge"; }
        else if(PlayerInfo[targetid][pJob] == 21) { jtext = "Cistac ulica"; }
        else if(PlayerInfo[targetid][pJob] == 22) { jtext = "Svercer materijala"; }
        else if(PlayerInfo[targetid][pJob] == 23) { jtext = "Proizvodjac oruzija"; }
        else { jtext = "None"; }
      new drank[20];
      if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "Donator lvl 1"; }
      else if(PlayerInfo[targetid][pDonateRank] == 2) { drank = "Donator lvl 2"; }
      else if(PlayerInfo[targetid][pDonateRank] >= 3) { drank = "Donator lvl 3"; }
      else { drank = "None"; }
      /*new married[20];
      strmid(married, PlayerInfo[targetid][pMarriedTo], 0, strlen(PlayerInfo[targetid][pMarriedTo]), 255);*/
      new age = PlayerInfo[targetid][pAge];
      new ptime = PlayerInfo[targetid][pConnectTime];
      //new lotto = PlayerInfo[targetid][pLottoNr];
      //new deaths = PlayerInfo[targetid][pDeaths];
      //new fishes = PlayerInfo[targetid][pFishes];
      //new crimes = PlayerInfo[targetid][pCrimes];
      //new warrests = PlayerInfo[targetid][pWantedDeaths];
      new drugs = PlayerInfo[targetid][pDrugs];
      new mats = PlayerInfo[targetid][pMats];
      //new wanted = WantedLevel[targetid];
      new level = PlayerInfo[targetid][pLevel];
      new exp = PlayerInfo[targetid][pExp];
      //new kills = PlayerInfo[targetid][pKills];
      new pnumber = PlayerInfo[targetid][pPnumber];
      //new account = PlayerInfo[targetid][pAccount];
      new nxtlevel = PlayerInfo[targetid][pLevel]+1;
      new expamount = nxtlevel*levelexp;
      //new costlevel = nxtlevel*levelcost;//10k for testing purposes
      new housekey = PlayerInfo[targetid][pPhousekey];
      new bizkey = PlayerInfo[targetid][pPbiskey];
      new carkey = PlayerInfo[targetid][pPcarkey];
      new carkey2 = PlayerInfo[targetid][pPcarkey2];
      new carkey3 = PlayerInfo[targetid][pPcarkey3];
      new intir = PlayerInfo[targetid][pInt];
      new virworld = PlayerInfo[targetid][pVirWorld];
      new local = PlayerInfo[targetid][pLocal];
      //new Float:shealth = PlayerInfo[targetid][pSHealth];
      new Float:health;
      new name[MAX_PLAYER_NAME];
      GetPlayerName(targetid, name, sizeof(name));
      GetPlayerHealth(targetid,health);
      new Float:px,Float:py,Float:pz;
      GetPlayerPos(targetid, px, py, pz);
      new coordsstring[256];
      format(coordsstring, sizeof(coordsstring),"------------------------------------| %s |------------------------------------",name);
      format(coordsstring, sizeof(coordsstring), "- Level:[%d]  Pol:[%s]  Godine:[%d]  Novac:[$%d]  Br:[%d]", level,atext,age,cash,pnumber);
      SendClientMessage(playerid, COLOR_WHITE,coordsstring);
      format(coordsstring, sizeof(coordsstring), "- Odigranih Sati:[%d]  Posao:[%s]  Respekt:[%d/%d]  Donator:[%s]", ptime,jtext,exp,expamount,drank);
      format(coordsstring, sizeof(coordsstring), "- Droga:[%d]  Materijali:[%d]  Organizacija:[%s]  Rank:[%s]",drugs,mats,ftext,rtext);
      if (PlayerInfo[playerid][pAdmin] >= 1)
      {
         format(coordsstring, sizeof(coordsstring), "- House key [%d] Business key [%d] Veh1 [%d] Veh2 [%d] Veh3 [%d] HireKey [%d] int:[%d] virworld:[%d] local[%d]", housekey,bizkey,carkey,carkey2,carkey3,HireCar[targetid],intir,virworld,local);
      }
      new stats[1024];
      format(stats, 1000," %s",coordsstring);
      ShowPlayerDialog(playerid, 6162, DIALOG_STYLE_MSGBOX, "{6EF83C}PD izvestaj ", stats, "Dobro" ,"");
   }
}
//-----
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

pa svakako sa tvojom showoldstats postojecom funkcijom

Radi mi sad stats hvala puno :)
Evo ovo za dodatni slot odredjenom igracu

}
if(IsAnOwnableCar(newcar))
{
if(CarInfo[newcar][cOwned]==0)
{
TogglePlayerControllable(playerid, 0);
format(string,sizeof(string),"~w~Vozilo: %s~n~Cijena: ~g~%d~n~~w~/v buy da biste kupili vozilo~n~~r~/exit ~w~da izadjete",CarInfo[newcar][cDescription],CarInfo[newcar][cValue]);
GameTextForPlayer(playerid,string,3000,5);
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;


Citat: |LG|Yui_Sang poslato Jun 07, 2013, 01:03:42 PRE PODNE
Citat: [BE:RP]Dzoni poslato Jun 07, 2013, 00:59:34 PRE PODNE
Kako da ih pronadjem?
Pa tu negde kod kupovinu auta
Evo Blaeks,pa je možda mislio da je to :P
Poslednja Izmena: Jun 07, 2013, 01:50:59 PRE PODNE od [T:RP]FluX

Ma zanima me kako da dam odredjenom igracu slot
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

Citat: |LG|Yui_Sang poslato Jun 07, 2013, 09:39:05 PRE PODNE
Trazi pod enum za igrace varijablu za slot
evo sto se enuma tice ovo imam

//ERATORS
enum SavePlayerPosEnum
{
    Float:LastX,
    Float:LastY,
    Float:LastZ
}
new SavePlayerPos[MAX_PLAYERS][SavePlayerPosEnum];
new SpeedMode = 1;
new UpdateSeconds = 1;


enum pBoxingStats
{
    TitelName[128],
    TitelWins,
    TitelLoses,
};
new Titel[pBoxingStats];


enum cCKInfo
{
cSendername[20],
cGiveplayer[20],
cUsed,
};
new CKInfo[10][cCKInfo];


enum pPaperInfo
{
PaperUsed,
PaperMaker[20],
PaperTitle[64],
PaperText1[128],
PaperText2[128],
PaperText3[128],
PaperText4[128],
PaperText5[128],
PaperText6[128],
PaperText7[128],
SafeSaving,
};
new PaperInfo[10][pPaperInfo];


enum pPaper
{
pMaker[20],
pTitle[64],
pLine1[128],
pLine2[128],
pLine3[128],
pLine4[128],
pLine5[128],
pLine6[128],
pLine7[128],
};
new Paper[MAX_PLAYERS][pPaper];


enum fInfo
{
FamilyTaken,
FamilyName[20],
FamilyMOTD[128],
FamilyColor[20],
FamilyLeader[MAX_PLAYER_NAME],
FamilyMembers,
Float:FamilySpawn[4],
FamilyInterior,
};
new FamilyInfo[10][fInfo];


enum zInfo
{
zOwner[64],
zColor[20],
    Float:zMinX,
    Float:zMinY,
    Float:zMaxX,
    Float:zMaxY,
};
new TurfInfo[6][zInfo];
new Turfs[6];


enum pFishing
{
pFish1[20],
pFish2[20],
pFish3[20],
pFish4[20],
pFish5[20],
pWeight1,
pWeight2,
pWeight3,
pWeight4,
pWeight5,
pFid1,
pFid2,
pFid3,
pFid4,
pFid5,
pLastFish,
pFishID,
pLastWeight,
};
new Fishes[MAX_PLAYERS][pFishing];


enum pCooking
{
pCook1[20],
pCook2[20],
pCook3[20],
pCook4[20],
pCook5[20],
pCWeight1,
pCWeight2,
pCWeight3,
pCWeight4,
pCWeight5,
pCookID1,
pCookID2,
pCookID3,
pCookID4,
pCookID5,
};
new Cooking[MAX_PLAYERS][pCooking];


enum pGroceries
{
pChickens,
pChicken,
pHamburgers,
pHamburger,
pPizzas,
pPizza,
};
new Groceries[MAX_PLAYERS][pGroceries];


enum pSpec
{
Float:Coords[3],
Float:sPx,
Float:sPy,
Float:sPz,
sPint,
sLocal,
sCam,
};
new Unspec[MAX_PLAYERS][pSpec];


enum eCars
{
model_id,
Float:pos_x,
Float:pos_y,
Float:pos_z,
Float:z_angle,
};


enum hNews
{
hTaken1,
hTaken2,
hTaken3,
hTaken4,
hTaken5,
hAdd1[128],
hAdd2[128],
hAdd3[128],
hAdd4[128],
hAdd5[128],
hContact1[128],
hContact2[128],
hContact3[128],
hContact4[128],
hContact5[128],
};
new News[hNews];


enum pInfo
{
pKey[128],
pLevel,
pAdmin,
pDonateRank,
gPupgrade,
pConnectTime,
pReg,
pSex,
pAge,
pOrigin,
pCK,
pMuted,
pExp,
pCash,
pAccount,
pCrimes,
pKills,
pDeaths,
pArrested,
pWantedDeaths,
pPhoneBook,
pLottoNr,
pFishes,
pBiggestFish,
pJob,
pPayCheck,
pHeadValue,
pJailed,
pJailTime,
pMats,
pDrugs,
pLeader,
pMember,
pFMember,
pRank,
pChar,
pContractTime,
pDetSkill,
pSexSkill,
pBoxSkill,
pLawSkill,
pMechSkill,
pJackSkill,
pCarSkill,
pNewsSkill,
pDrugsSkill,
pCookSkill,
pFishSkill,
Float:pHealth,
Float:pSHealth,
pInt,
pLocal,
pTeam,
pModel,
pPnumber,
pPhousekey,
pPcarkey,
pPcarkey2,
pPcarkey3,
pGangKey,
pPbiskey,
Float:pPos_x,
Float:pPos_y,
Float:pPos_z,
pCarLic,
pFlyLic,
pBoatLic,
pFishLic,
pGunLic,
pGun1,
pGun2,
pGun3,
pGun4,
pAmmo1,
pAmmo2,
pAmmo3,
pAmmo4,
pCarTime,
pPayDay,
pPayDayHad,
pWatch,
pCrashed,
pWins,
pLoses,
pAlcoholPerk,
pDrugPerk,
pMiserPerk,
pPainPerk,
pTraderPerk,
pTut,
pMissionNr,
pWarns,
pVirWorld,
pFuel,
pMarried,
pMarriedTo[128],
pFishTool,
pNote1[128],
pNote1s,
pNote2[128],
pNote2s,
pNote3[128],
pNote3s,
pNote4[128],
pNote4s,
pNote5[128],
pNote5s,
pInvWeapon,
pInvAmmo,
pLighter,
pCigarettes,
pRequestingBackup,
pRoadblock,
pMask,
pMaskuse,
pHideNumber,
pSpeaker,
pLocked,
pGm,
pPinKod,
pKredit,
};
new PlayerInfo[MAX_PLAYERS][pInfo];


enum hInfo
{
Float:hEntrancex,
Float:hEntrancey,
Float:hEntrancez,
Float:hExitx,
Float:hExity,
Float:hExitz,
hHealthx,
hHealthy,
hHealthz,
hArmourx,
hArmoury,
hArmourz,
hOwner[MAX_PLAYER_NAME],
hDiscription[MAX_PLAYER_NAME],
hValue,
hHel,
hArm,
hInt,
hLock,
hOwned,
hRooms,
hRent,
hRentabil,
hTakings,
hVec,
hVcol1,
hVcol2,
hDate,
hLevel,
hWorld
};
new HouseInfo[120][hInfo];
new HouseEntered[MAX_PLAYERS];


enum cInfo
{
cModel,
Float:cLocationx,
Float:cLocationy,
Float:cLocationz,
Float:cAngle,
cColorOne,
cColorTwo,
cOwner[MAX_PLAYER_NAME],
cDescription[MAX_PLAYER_NAME],
cValue,
cLicense,
cRegistration,
cOwned,
cLock,
};
new CarInfo[550][cInfo];


enum bInfo
{
    bOwned,
bOwner[64],
bMessage[128],
bExtortion[MAX_PLAYER_NAME],
Float:bEntranceX,
Float:bEntranceY,
Float:bEntranceZ,
Float:bExitX,
Float:bExitY,
Float:bExitZ,
bLevelNeeded,
bBuyPrice,
bEntranceCost,
bTill,
bLocked,
bInterior,
bProducts,
bMaxProducts,
bPriceProd,
};
new BizzInfo[12][bInfo];


enum sbInfo
{
sbOwned,
sbOwner[64],
sbMessage[128],
sbExtortion[MAX_PLAYER_NAME],
Float:sbEntranceX,
Float:sbEntranceY,
Float:sbEntranceZ,
sbLevelNeeded,
sbBuyPrice,
sbEntranceCost,
sbTill,
sbLocked,
sbInterior,
sbProducts,
sbMaxProducts,
sbPriceProd,
};
new SBizzInfo[15][sbInfo];


enum pHaul
{
pCapasity,
pLoad,
};
new PlayerHaul[195][pHaul];


enum pCrime
{
pBplayer[32],
pAccusing[32],
pAccusedof[32],
pVictim[32],
};
new PlayerCrime[MAX_PLAYERS][pCrime];


enum mInfo
{
    mTitle[128],
    mText1[128],
    mText2[128],
    mText3[128],
    mText4[128],
    mText5[128],
    mText6[128],
    mText7[128],
    mText8[128],
    mText9[128],
    mText10[128],
    mText11[128],
    mText12[128],
    mText13[128],
    mText14[128],
    mText15[128],
    mText16[128],
    mText17[128],
    mText18[128],
    mGText1[128],
    mGText2[128],
    mGText3[128],
    mGText4[128],
    mGText5[128],
    mGText6[128],
Float:mCP1[3],
Float:mCP2[3],
Float:mCP3[3],
Float:mCP4[3],
Float:mCP5[3],
Float:mCP6[3],
mReward,
mToggle,
};
new MissionInfo[mInfo];


enum kInfo
{
    kTitle[128],
    kMaker[MAX_PLAYER_NAME],
    kText1[128],
    kText2[128],
    kText3[128],
    kText4[128],
    kText5[128],
    kText6[128],
    kText7[128],
    kText8[128],
    kText9[128],
    kText10[128],
    kText11[128],
    kText12[128],
    kText13[128],
    kText14[128],
    kText15[128],
    kText16[128],
    kText17[128],
    kText18[128],
    kGText1[128],
    kGText2[128],
    kGText3[128],
    kGText4[128],
    kGText5[128],
    kGText6[128],
Float:kCP1[3],
Float:kCP2[3],
Float:kCP3[3],
Float:kCP4[3],
Float:kCP5[3],
Float:kCP6[3],
kNumber,
kReward,
kToggle,
};
new PlayMission[kInfo];


enum iInfo
{
iAdmin[128],
iMOTD[128],
iPassword[128],
iNeedPass,
iLock,
iPlayers,
};
new IRCInfo[10][iInfo];


enum dDrug
{
DrugAmmount,
};
new drugsys[dDrug];


enum dTicketMoney
{
TicketAmmount,
};
new ticketsys[dTicketMoney];


enum dMats
{
MatsAmmount,
};
new matssys[dMats];


enum hqLocks
{
surlock,
luclock,
stlock,
iolock,
};
new hqlock[hqLocks];


enum materijali
{
lcnmat,
yakuzamat,
bloodsmat,
cripsmat,
rusmat,
};
new materijal[materijali];


enum droge
{
lcndrug,
yakuzadrug,
bloodsdrug,
cripsdrug,
rusdrug,
};
new droga[droge];


enum gzone
{
gzona1,
gzona2,
gzona3,
gzona4,
gzona5,
gzona6,
};
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;