PDA

View Full Version : Getalt command


Diti1
19/01/2015, 12:39 PM
hey boys pleaase help me
i created a cmd to get player main account and alt acounts
i want it to show me the list of accounts that the IP got example
/getalts 192.**.**.** and show me accounts like John Seah,Saema etc
please hep me boys
here is the cmd

COMMAND:getalts(playerid, params[])
{
if(PlayerInfo[playerid][power] < 20) return SendClientError(playerid, CANT_USE_CMD);
new tmp[32];
if( sscanf ( params, "s", tmp)) return SCP(playerid, "[IP / IP Range]");
for(new i; i < sizeof(House); i++)
{
new iFile[MAX_PLAYER_NAME+10];
format(iFile,sizeof(iFile),"%s.dudb.sav",tmp);
return 1;
}
return 1;
}