Quote:
Originally Posted by Kraeror
Here you are bro:
PHP код:
CMD:lideri(playerid,params[])
{
for(new i=0;i<MAX_PLAYERS;i++)
{
if(PlayerInfo[i][pRank] == 6)
{
new str[512],orgname[24],name[MAX_PLAYER_NAME];
GetPlayerName(i, name, MAX_PLAYER_NAME);
if(PlayerInfo[i][pOrgID] == 1) { orgname = "Grove Street Families"; }
----> format(str,sizeof(str),COL_RED,"%s | %s |",orgname,name);
ShowPlayerDialog(playerid,DIALOG_LIDERI,DIALOG_STYLE_MSGBOX,""COL_BLUE"Aktivni lideri:",str,"Ok","");
}
}
return 1;
}
+1 REP if I helped you
|
1 warning left:
PHP код:
C:\Program Files\Rockstar Games\GTA San Andreas\SAMP\Server\gamemodes\AdminPlugin.pwn(474) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.