24.09.2010, 15:13
pawn Код:
dcmd_stats(playerid, params[])
{
new string[156];
new targetid;
if(sscanf(params, "u", targetid))
{
//code
}
else
{
//code
}
if(!IsPlayerConnected(targetid) || targetid == INVALID_PLAYER_ID || targetid == playerid)return SM(playerid,red,"Error: Player is not connected. To view your own stats: /stats without id!");
return 1;
}