Jump to content

Ajutor, /onpremium


Zekkkk
 Share

Recommended Posts

Sunt pe telefon, deci nu am cum să ti-o fac altfel.

 

CMD:onpremium(playerid, params[])

{

new string[128];

foreach(new i : Player)

{

if(PlayerInfo[pPremiumAccount] == 1)

{

format(string, sizeof(string), "Premium user: %s(%d)", GetName(i), i);

}

}

SendClientMessage(playerid, -1, string);

return 1;

}

Edited by Kingsley
Link to comment
Share on other sites

CMD:onpremium(playerid, params[])

{
new name[25], text[128];
SCM(playerid, -1, "_______Premiums_______");
foreach(Player, i)
{
   if(PlayerInfo[pPremiumAccounts] >= 1) (in loc de pPremiumAccounts sa pui variabila care o ai tu in gamemode)
   {
       GetPlayerName(i, name, 25);
       format(text, sizeof(text), "%s", name);
       SCM(playerid, -1, text);
   }
}
return 1;
}
Edited by s4uriK - RPG
Link to comment
Share on other sites

CMD:onpremium(playerid, params[])


{

new name[25], text[128];

SCM(playerid, -1, "_______Premiums_______");

foreach(Player, i)

{

   if(PlayerInfo[pPremiumAccounts] >= 1) (in loc de pPremiumAccounts sa pui variabila care o ai tu in gamemode)

   {

       GetPlayerName(i, name, 25);

       format(text, sizeof(text), "%s", name);

       SCM(playerid, -1, text);

   }

}

return 1;

}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.